Go to the documentation of this file.
112 #ifndef functionObjects_multiFieldValue_H
113 #define functionObjects_multiFieldValue_H
124 namespace functionObjects
126 namespace fieldValues
133 class multiFieldValue
135 public functionObjects::stateFunctionObject,
136 public functionObjects::writeFile
165 PtrList<fieldValue> functions_;
225 virtual bool write();
virtual void writeFileHeader(Ostream &os) const
Output file header information.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
multiFieldValue(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
Subtract values from first entry.
virtual bool write()
Calculate and write.
Base class for function objects, adding functionality to read/write state information (data required ...
virtual bool read(const dictionary &dict)
Read from dictionary.
virtual ~multiFieldValue()=default
Destructor.
word resultType(const word &entryName) const
Retrieve the result type.
Computes a selected operation between multiple fieldValue function objects.
TypeName("multiFieldValue")
Run-time type information.
static const Enum< operationType > operationTypeNames_
Operation type names.
void operator=(const multiFieldValue &)=delete
No copy assignment.
List< word > wordList
A List of words.
operationType
Operation type enumeration.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
const word & name() const noexcept
Return the name of this functionObject.
virtual bool execute()
Do nothing.
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,...
List< word > names(const UPtrList< T > &list, const UnaryMatchPredicate &matcher)