85 #ifndef Foam_functionObjects_add_H 86 #define Foam_functionObjects_add_H 94 namespace functionObjects
103 public fieldsExpression
109 template<
class GeoFieldType>
110 tmp<GeoFieldType> calcFieldType()
const;
144 virtual ~add() =
default;
void operator=(const add &)=delete
No copy assignment.
const word & name() const noexcept
Return the name of this functionObject.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
add(const word &name, const Time &runTime, const dictionary &dict)
Construct from name, Time and dictionary.
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.
TypeName("add")
Runtime type information.