50 "Writes an XML file.");
63 if(!
m_f->m_exp.size())
70 if(
m_f->m_comm->TreatAsRankZero())
72 cout <<
"OutputXml: Writing file..." << endl;
77 string filename =
m_config[
"outfile"].as<
string>();
79 m_f->m_graph->WriteGeometry(filename);
80 cout <<
"Written file: " << filename << endl;
pair< ModuleType, string > ModuleKey
Abstract base class for output modules.
map< string, ConfigOption > m_config
List of configuration values.
FieldSharedPtr m_f
Field object.
boost::shared_ptr< Field > FieldSharedPtr
ModuleFactory & GetModuleFactory()
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, tDescription pDesc="")
Register a class with the factory.