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();
word resultName_
Name of result field.
TypeName("fieldExpression")
Runtime type information.
const word & name() const
Return the name of this functionObject.
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.
A functionName is a word starting with '#'.
virtual ~fieldExpression()
Destructor.
A class for handling words, derived from string.
static const word null
An empty word.
virtual bool write()
Write the result field.
virtual bool execute()
Calculate the result field.
const word fieldName_
Name of field to process.
virtual bool clear()
Clear the result field from the objectRegistry.
void operator=(const fieldExpression &)=delete
Disallow default bitwise assignment.
virtual wordList fields() const
Return the field required.
fieldExpression(const word &name, const Time &runTime, const dictionary &dict, const word &functionName, const word &defaultFieldName=word::null)
Construct from Time and dictionary.
Specialisation of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...