10 int main(
int argc,
char *argv[])
14 fprintf(stderr,
"Usage: ExtractMultiFileInfo file.fld \n" );
23 string fieldfile(argv[argc-1]);
24 vector<LibUtilities::FieldDefinitionsSharedPtr> fielddef;
25 vector<vector<NekDouble> > fielddata;
30 cout <<
"<MultipleFldFiles FileName=\"" << fieldfile <<
"\" >";
32 cout << fielddef[0]->m_elementIDs[0];
34 for(
int f = 0; f < fielddef.size(); ++f)
36 for(
int i = 1; i < fielddef[f]->m_elementIDs.size(); ++i)
38 cout <<
"," <<fielddef[f]->m_elementIDs[i];
41 cout <<
"<\\MultipleFldFiles>" << endl;
void Import(const std::string &infilename, std::vector< FieldDefinitionsSharedPtr > &fielddefs, std::vector< std::vector< NekDouble > > &fielddata, FieldMetaDataMap &fieldinfomap, const Array< OneD, int > &ElementIDs)
This function allows for data to be imported from an FLD file when a session and/or communicator is n...
Base class for a spectral/hp element mesh.