Go to the documentation of this file.
99 #ifndef functionObjects_fieldValueDelta_H
100 #define functionObjects_fieldValueDelta_H
111 namespace functionObjects
113 namespace fieldValues
120 class fieldValueDelta
122 public fvMeshFunctionObject,
148 autoPtr<fieldValue> region1Ptr_;
151 autoPtr<fieldValue> region2Ptr_;
163 const word& entryName1,
164 const word& entryName2,
213 virtual bool write();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
Computes a selected operation between two fieldValue function objects.
TypeName("fieldValueDelta")
Run-time type information.
virtual bool execute()
Do nothing.
word resultType(const word &entryName) const
Retrieve the result type.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
virtual ~fieldValueDelta()=default
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool write()
Calculate and write.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
void operator=(const fieldValueDelta &)=delete
No copy assignment.
virtual bool read(const dictionary &)
Read from dictionary.
virtual void writeFileHeader(Ostream &os) const
Output file header information.
const word & name() const
Return the name of this functionObject.
fieldValueDelta(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
Base class for writing single files from the function objects.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static const Enum< operationType > operationTypeNames_
Operation type names.
operationType
Operation type enumeration.