36 #ifndef UTILITIES_PREPROCESSING_MESHCONVERT_MODULE
37 #define UTILITIES_PREPROCESSING_MESHCONVERT_MODULE
52 namespace po = boost::program_options;
91 m_isBool(isBool), m_beenSet(false), m_value(),
92 m_defValue(defValue), m_desc(desc) {}
94 m_isBool(false), m_beenSet(false), m_value(),
95 m_defValue(), m_desc() {}
106 return boost::lexical_cast<T>(m_value);
108 catch(
const exception &e)
110 cerr << e.what() << endl;
138 virtual void Process(po::variables_map &vm) = 0;
140 void RegisterConfig(
string key,
string value);
144 bool GetRequireEquiSpaced(
void)
146 return m_requireEquiSpaced;
149 void SetRequireEquiSpaced(
bool pVal)
151 m_requireEquiSpaced = pVal;
154 void EvaluateTriFieldAtEquiSpacedPts(
156 const Array<OneD, const NekDouble> &infield,
157 Array<OneD, NekDouble> &outfield);
183 void AddFile(
string fileType,
string fileName);
238 m_type =
"FieldConvert parallel";
244 m_type =
"FieldConvert parallel";
247 void v_SplitComm(
int pRows,
int pColumns)
250 m_commRow = boost::shared_ptr<FieldConvertComm>(
new FieldConvertComm(pColumns,m_rank));
251 m_commColumn = boost::shared_ptr<FieldConvertComm>(
new FieldConvertComm(pRows,0));
260 bool v_TreatAsRankZero(
void)
265 bool v_RemoveExistingFiles(
void)