68 <<
"At least two field names are required, but only "
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Abstract base-class for Time/database function objects.
Sums a given list of (at least two or more) fields and outputs the result into a new field....
friend class fieldsExpression
Grant fieldsExpression access to private and protected members.
add(const word &name, const Time &runTime, const dictionary &dict)
Construct from name, Time and dictionary.
Intermediate class for handling field expression function objects (e.g. add, subtract etc....
wordList fieldNames_
Names of fields to process.
void setResultName(const word &typeName, const wordList &defaultArg=wordList::null())
Set the result name.
bool calcAllTypes(FOType &fo)
Call 'calcType' for the given functionObject.
virtual bool calc()=0
Calculate expression.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a).