85#ifndef Foam_functionObjects_add_H
86#define Foam_functionObjects_add_H
109 template<
class GeoFieldType>
144 virtual ~add() =
default;
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.
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.
virtual ~add()=default
Destructor.
void operator=(const add &)=delete
No copy assignment.
add(const word &name, const Time &runTime, const dictionary &dict)
Construct from name, Time and dictionary.
TypeName("add")
Runtime type information.
Foam::tmp< GeoFieldType > calcFieldType() const
add(const add &)=delete
No copy construct.
Intermediate class for handling field expression function objects (e.g. add, subtract etc....
virtual bool calc()=0
Calculate expression.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.