Go to the documentation of this file.
99 #ifndef functionObjects_add_H
100 #define functionObjects_add_H
108 namespace functionObjects
117 public fieldsExpression
123 template<
class GeoFieldType>
124 tmp<GeoFieldType> calcFieldType()
const;
146 const dictionary&
dict
157 virtual ~add() =
default;
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
add(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
A class for managing temporary objects.
void operator=(const add &)=delete
No copy assignment.
TypeName("add")
Runtime type information.
Sums a given list of (at least two or more) fields and outputs the result into a new field,...
friend class fieldsExpression
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
const word & name() const noexcept
Return the name of this functionObject.
Intermediate class for handling field expression function objects (e.g. add, subtract etc....
virtual ~add()=default
Destructor.