37 #ifndef functionObjects_fieldExpression_H
38 #define functionObjects_fieldExpression_H
46 namespace functionObjects
70 virtual bool calc() = 0;
108 virtual bool write();
111 virtual bool clear();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A functionName is a word starting with '#'.
const word & name() const
Return the name of this functionObject.
fieldExpression(const word &name, const Time &runTime, const dictionary &dict, const word &functionName, const word &defaultFieldName=word::null)
Construct from Time and dictionary.
virtual wordList fields() const
Return the field required.
word resultName_
Name of result field.
void operator=(const fieldExpression &)=delete
Disallow default bitwise assignment.
virtual ~fieldExpression()
Destructor.
virtual bool clear()
Clear the result field from the objectRegistry.
const word fieldName_
Name of field to process.
TypeName("fieldExpression")
Runtime type information.
virtual bool execute()
Calculate the result field.
virtual bool write()
Write the result field.
Specialisation of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
A class for handling words, derived from string.
static const word null
An empty word.