60 if (!
m_f->m_exp.size())
66 string filename =
m_config[
"outfile"].as<
string>();
70 graphIO->SetMeshGraph(
m_f->m_graph);
71 graphIO->WriteGeometry(filename);
72 cout <<
"Written file: " << filename << endl;
FieldSharedPtr m_f
Field object.
std::map< std::string, ConfigOption > m_config
List of configuration values.
Abstract base class for output modules.
OutputXml(FieldSharedPtr f)
void v_Process(po::variables_map &vm) override
Write fld to output file.
static ModuleKey m_className
static std::shared_ptr< Module > create(FieldSharedPtr f)
Creates an instance of this class.
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
tBaseSharedPtr CreateInstance(tKey idKey, tParam... args)
Create an instance of the class referred to by idKey.
std::shared_ptr< Field > FieldSharedPtr
std::pair< ModuleType, std::string > ModuleKey
ModuleFactory & GetModuleFactory()
MeshGraphIOFactory & GetMeshGraphIOFactory()