7 using namespace Nektar;
9 int main(
int argc,
char *argv[])
13 fprintf(stderr,
"Usage: ExtractMultiFileInfo file.fld \n" );
22 string fieldfile(argv[argc-1]);
23 vector<LibUtilities::FieldDefinitionsSharedPtr> fielddef;
24 vector<vector<NekDouble> > fielddata;
29 cout <<
"<MultipleFldFiles FileName=\"" << fieldfile <<
"\" >";
31 cout << fielddef[0]->m_elementIDs[0];
33 for(
int f = 0; f < fielddef.size(); ++f)
35 for(
int i = 1; i < fielddef[f]->m_elementIDs.size(); ++i)
37 cout <<
"," <<fielddef[f]->m_elementIDs[i];
40 cout <<
"<\\MultipleFldFiles>" << endl;