Alsvinn  0.5.3
The fast FVM simulator with UQ support
Public Member Functions | List of all members
alsfvm::io::MpiWriterFactory Class Reference

#include <alsfvm/io/MpiWriterFactory.hpp>

Inheritance diagram for alsfvm::io::MpiWriterFactory:
alsfvm::io::WriterFactory

Public Member Functions

 MpiWriterFactory (mpi::ConfigurationPtr configuration)
 
virtual alsfvm::shared_ptr< WritercreateWriter (const std::string &name, const std::string &baseFilename, const Parameters &parameters) override
 
- Public Member Functions inherited from alsfvm::io::WriterFactory
virtual ~WriterFactory ()
 

Additional Inherited Members

- Public Types inherited from alsfvm::io::WriterFactory
typedef alsutils::base::Factory< Writer, const std::string &, const Parameters & >::CreatorType CreatorType
 

Detailed Description

This implements the abstract factory pattern The reason for doing this is that we sometimes want to use mpi writers, and sometimes not.

Constructor & Destructor Documentation

◆ MpiWriterFactory()

alsfvm::io::MpiWriterFactory::MpiWriterFactory ( mpi::ConfigurationPtr  configuration)

Member Function Documentation

◆ createWriter()

alsfvm::shared_ptr< Writer > alsfvm::io::MpiWriterFactory::createWriter ( const std::string &  name,
const std::string &  baseFilename,
const Parameters parameters 
)
overridevirtual

Reimplemented from alsfvm::io::WriterFactory.


The documentation for this class was generated from the following files: