91 #ifndef Foam_functionObjects_multiply_H 92 #define Foam_functionObjects_multiply_H 100 namespace functionObjects
109 public fieldsExpression
112 template<
class Type1,
class Type2>
115 static constexpr
bool value =
124 bool initialiseResult(
const word& fieldName);
127 bool multiplyResult(
const word& fieldName,
bool& processed);
129 template<
class Type1,
class Type2>
130 bool multiplyFieldType
132 GeometricField<Type1, fvPatchField, volMesh>& result,
133 const word& fieldName,
multiply(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
Intermediate class for handling field expression function objects (e.g. add, subtract etc...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Multiplies a given list of (at least two or more) fields and outputs the result into a new field...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
const word & name() const noexcept
Return the name of this functionObject.
A class for handling words, derived from Foam::string.
void operator=(const multiply &)=delete
No copy assignment.
virtual ~multiply()=default
Destructor.
::Foam::direction rank(const expressions::valueTypeCode) noexcept
The vector-space rank associated with given valueTypeCode.
void multiply(DimensionedField< Type, GeoMesh > &result, const DimensionedField< Type, GeoMesh > &f1, const DimensionedField< scalar, GeoMesh > &f2)
TypeName("multiply")
Runtime type information.