80 const word fieldName = args[2];
91 if (fieldHeader.headerOk())
93 bool processed =
false;
95 writeComponentFields<vector>(fieldHeader,
mesh, processed);
96 writeComponentFields<sphericalTensor>(fieldHeader,
mesh, processed);
97 writeComponentFields<symmTensor>(fieldHeader,
mesh, processed);
98 writeComponentFields<tensor>(fieldHeader,
mesh, processed);
103 <<
"Unable to process " << fieldName <<
nl 104 <<
"No call to components for fields of type " 105 << fieldHeader.headerClassName() <<
nl <<
nl
static SLList< string > validArgs
A list of valid (mandatory) arguments.
Mesh data needed to do the Finite Volume discretisation.
virtual void init()
Initialise - typically setting static variables,.
A class for handling words, derived from string.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual void preCalc(const argList &args, const Time &runTime, const fvMesh &mesh)
Pre-time loop calculations.
components()
Construct null.
Macros for easy insertion into run-time selection tables.
addToRunTimeSelectionTable(calcType, addSubtract, dictionary)
Extract command arguments and options from the supplied argc and argv parameters. ...
virtual ~components()
Destructor.
virtual void calc(const argList &args, const Time &runTime, const fvMesh &mesh)
Time loop calculations.
defineTypeNameAndDebug(addSubtract, 0)
Base class for post-processing calculation functions.