91#ifndef functionObjects_multiply_H
92#define functionObjects_multiply_H
100namespace 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 typename std::enable_if
132 is_valid_op<Type1, Type2>::value,
bool
136 GeometricField<Type1, fvPatchField, volMesh>& result,
137 const word& fieldName,
141 template<
class Type1,
class Type2>
142 typename std::enable_if
144 !is_valid_op<Type1, Type2>::value,
bool
149 const word& fieldName,
static constexpr direction rank
Rank of Barycentric is 1.
Generic GeometricField class.
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.
virtual const word & type() const =0
Runtime type information.
Intermediate class for handling field expression function objects (e.g. add, subtract etc....
Multiplies a given list of (at least two or more) fields and outputs the result into a new field.
void operator=(const multiply &)=delete
No copy assignment.
TypeName("multiply")
Runtime type information.
multiply(const multiply &)=delete
No copy construct.
virtual ~multiply()=default
Destructor.
A traits class, which is primarily used for primitives.
A class for handling words, derived from Foam::string.
void multiply(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.