55 int main(
int argc,
char *argv[])
58 argList::validArgs.append(
"fieldName");
65 const word fieldName =
args[1];
67 IOobjectList
objects(IOobjectList(mesh, mesh.time().timeName()));
70 processField<scalar>(
mesh,
objects, fieldName, processed);
71 processField<vector>(
mesh,
objects, fieldName, processed);
72 processField<sphericalTensor>(
mesh,
objects, fieldName, processed);
73 processField<symmTensor>(
mesh,
objects, fieldName, processed);
74 processField<tensor>(
mesh,
objects, fieldName, processed);
78 Info<<
"Field " << fieldName <<
" not found" <<
endl;
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Foam::argList args(argc, argv)