115#ifndef Foam_functionObjects_multiFieldValue_H
116#define Foam_functionObjects_multiFieldValue_H
137 public functionObjects::stateFunctionObject,
138 public functionObjects::writeFile
169 PtrList<functionObject> functions_;
172 List<wordList> resultFields_;
238 virtual bool write();
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
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 a number of values (eg,...
const word & name() const noexcept
Return the name of this functionObject.
Computes a selected operation between multiple function objects.
TypeName("multiFieldValue")
Run-time type information.
multiFieldValue(const word &name, const Time &runTime, const dictionary &dict)
Construct from name, Time and dictionary.
virtual bool read(const dictionary &dict)
Read the function-object dictionary.
multiFieldValue(const multiFieldValue &)=delete
No copy construct.
virtual ~multiFieldValue()=default
Destructor.
virtual void writeFileHeader(const wordList &foNames, const List< wordList > &entries, const List< wordList > &types, Ostream &os) const
Output file header information.
void operator=(const multiFieldValue &)=delete
No copy assignment.
static const Enum< operationType > operationTypeNames_
Operation type names.
virtual bool execute()
Execute the function-object operations.
virtual bool write()
Write the function-object results.
operationType
Operation type enumeration.
@ opDivide
Divide first entry by values.
@ opAverage
Average value.
@ opCmptDivide
Divide first entry by values componentwise.
@ opSubtract
Subtract values from first entry.
@ opAdd
Add values (same as sum).
Base class for function objects, adding functionality to read/write state information (data required ...
word resultType(const word &entryName) const
Retrieve the result type.
Base class for writing single files from the function objects.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
List< word > wordList
List of word.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.