36 #ifndef UTILITIES_PREPROCESSING_MESHCONVERT_MODULE
37 #define UTILITIES_PREPROCESSING_MESHCONVERT_MODULE
51 namespace po = boost::program_options;
90 m_isBool(isBool), m_beenSet(false), m_value(),
91 m_defValue(defValue), m_desc(desc) {}
93 m_isBool(false), m_beenSet(false), m_value(),
94 m_defValue(), m_desc() {}
105 return boost::lexical_cast<T>(m_value);
107 catch(
const exception &e)
109 cerr << e.what() << endl;
137 virtual void Process(po::variables_map &vm) = 0;
139 void RegisterConfig(
string key,
string value);
143 bool GetRequireEquiSpaced(
void)
145 return m_requireEquiSpaced;
148 void SetRequireEquiSpaced(
bool pVal)
150 m_requireEquiSpaced = pVal;
175 void AddFile(
string fileType,
string fileName);
231 m_type =
"FieldConvert parallel";
237 m_type =
"FieldConvert parallel";
240 void v_SplitComm(
int pRows,
int pColumns)
243 m_commRow = boost::shared_ptr<FieldConvertComm>(
new FieldConvertComm(pColumns,m_rank));
244 m_commColumn = boost::shared_ptr<FieldConvertComm>(
new FieldConvertComm(pRows,0));
253 bool v_TreatAsRankZero(
void)
258 bool v_RemoveExistingFiles(
void)