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