113#ifndef functionObjects_multiFieldValue_H
114#define functionObjects_multiFieldValue_H
124namespace functionObjects
135 public functionObjects::stateFunctionObject,
136 public functionObjects::writeFile
165 PtrList<functionObject> functions_;
168 List<wordList> resultFields_;
234 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.
virtual bool read(const dictionary &dict)
Read from 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()
Do nothing.
virtual bool write()
Calculate and write.
operationType
Operation type enumeration.
@ opAverage
Average value.
@ 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)
List< word > wordList
A List of words.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.