Go to the documentation of this file.
35 namespace functionObjects
53 setResultName(
"multiply");
57 bool Foam::functionObjects::multiply::calc()
59 bool processed =
false;
79 multiplyResult<sphericalTensor>(
fieldNames_[i], processed);
80 multiplyResult<symmTensor>(
fieldNames_[i], processed);
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
#define forAll(list, i)
Loop across all elements in list.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
const word & name() const noexcept
Return the name of this functionObject.
Intermediate class for handling field expression function objects (e.g. add, subtract etc....
addToRunTimeSelectionTable(functionObject, ObukhovLength, dictionary)
virtual const word & type() const =0
Runtime type information.
wordList fieldNames_
Names of fields to process.
defineTypeNameAndDebug(ObukhovLength, 0)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
multiply(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
void multiply(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)