36 #ifndef UTILITIES_NEKMESH_MODULE 
   37 #define UTILITIES_NEKMESH_MODULE 
   54 namespace po = boost::program_options;
 
   94                 m_isBool(isBool), m_beenSet(false), m_value(),
 
   95                     m_defValue(defValue), m_desc(desc) {}
 
   97                 m_isBool(false), m_beenSet(false), m_value(),
 
   98                     m_defValue(), m_desc() {}
 
  109                     return boost::lexical_cast<T>(m_value);
 
  111                 catch(
const exception &e)
 
  113                     cerr << e.what() << endl;
 
  141             virtual void Process(po::variables_map &vm) = 0;
 
  143             void RegisterConfig(
string key, 
string value);
 
  149                 return m_requireEquiSpaced;
 
  154                 m_requireEquiSpaced = pVal;
 
  157             void EvaluateTriFieldAtEquiSpacedPts(
 
  186             void AddFile(
string fileType, 
string fileName);
 
  226         ostream& 
operator<<(ostream& os, 
const ModuleKey& rhs);
 
  241                 m_type = 
"FieldConvert parallel";
 
  247                 m_type = 
"FieldConvert parallel";
 
  253                 m_commRow    = boost::shared_ptr<FieldConvertComm>(
 
  255                 m_commColumn = boost::shared_ptr<FieldConvertComm>(
 
ofstream m_fldFile
Output stream. 
 
LibUtilities::NekFactory< ModuleKey, Module, FieldSharedPtr > ModuleFactory
 
std::ostream & operator<<(std::ostream &os, const ModuleKey &rhs)
 
pair< ModuleType, string > ModuleKey
 
string m_defValue
Default value of the configuration option. 
 
Abstract base class for output modules. 
 
bool m_isBool
True if the configuration option is a boolean (thus does not need additional arguments). 
 
map< string, ConfigOption > m_config
List of configuration values. 
 
string m_desc
Description of the configuration option. 
 
string m_value
The value of the configuration option. 
 
T as()
Re-interpret the value stored in value as some type using boost::lexical_cast. 
 
boost::shared_ptr< InputModule > InputModuleSharedPtr
 
void SetRequireEquiSpaced(bool pVal)
 
FieldConvertComm(int size, int rank)
 
Module(FieldSharedPtr p_f)
 
bool m_beenSet
True if the configuration option has been set at command line. If false, the default value will be pu...
 
FieldConvertComm(int argc, char *argv[], int size, int rank)
 
bool v_RemoveExistingFiles(void)
 
boost::shared_ptr< Expansion > ExpansionSharedPtr
 
void v_SplitComm(int pRows, int pColumns)
 
boost::shared_ptr< Module > ModuleSharedPtr
 
ProcessModule(FieldSharedPtr p_f)
 
boost::shared_ptr< Field > FieldSharedPtr
 
Represents a command-line configuration option. 
 
ConfigOption(bool isBool, string defValue, string desc)
Construct a new configuration option. 
 
bool v_TreatAsRankZero(void)
 
virtual ~FieldConvertComm()
 
ModuleFactory & GetModuleFactory()
 
const char *const ModuleTypeMap[]
 
Abstract base class for processing modules. 
 
Provides a generic Factory class. 
 
bool GetRequireEquiSpaced(void)