Alsvinn
0.5.3
The fast FVM simulator with UQ support
|
#include <alsfvm/io/WriterFactory.hpp>
Public Types | |
typedef alsutils::base::Factory< Writer, const std::string &, const Parameters & >::CreatorType | CreatorType |
Public Member Functions | |
virtual | ~WriterFactory () |
virtual alsfvm::shared_ptr< Writer > | createWriter (const std::string &name, const std::string &baseFilename, const Parameters ¶meters) |
This implements the abstract factory pattern The reason for doing this is that we sometimes want to use mpi writers, and sometimes not.
typedef alsutils::base::Factory<Writer, const std::string&, const Parameters&>::CreatorType alsfvm::io::WriterFactory::CreatorType |
|
inlinevirtual |
|
virtual |
Reimplemented in alsuq::io::MPIWriterFactory, and alsfvm::io::MpiWriterFactory.