Go to the documentation of this file.
36 namespace functionObjects
46 bool Foam::functionObjects::pow::calc()
56 if (!checkDimensions_)
68 if (!checkDimensions_)
90 checkDimensions_(
true),
105 checkDimensions_ =
dict.getOrDefault<
Switch>(
"checkDimensions",
true);
106 n_ =
dict.get<scalar>(
"n");
107 scale_ =
dict.getOrDefault<scalar>(
"scale", 1.0);
108 offset_ =
dict.getOrDefault<scalar>(
"offset", 0.0);
int debug
Static debugging option.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
pow(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
bool read(const char *buf, int32_t &val)
Same as readInt32.
virtual bool read(const dictionary &)
Read the randomise data.
virtual bool read(const dictionary &dict)
Read the fieldExpression data.
bool store(word &fieldName, const tmp< ObjectType > &tfield, bool cacheable=false)
Store the field in the (sub) objectRegistry under the given name.
word name(const complex &c)
Return string representation of complex.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
word fieldName_
Name of field to process.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool read(const dictionary &dict)
Read optional controls.
Macros for easy insertion into run-time selection tables.
Intermediate class for handling field expression function objects (e.g. blendingFactor etc....
addToRunTimeSelectionTable(functionObject, ObukhovLength, dictionary)
defineTypeNameAndDebug(ObukhovLength, 0)
word resultName_
Name of result field.