34 namespace functionObjects
50 bool Foam::functionObjects::log::calc()
52 if (foundObject<volScalarField>(fieldName_))
54 const volScalarField& x = lookupObject<volScalarField>(fieldName_);
98 if (resultName_.empty())
100 resultName_ =
"log(" + fieldName_ +
")";
dimensionedScalar log(const dimensionedScalar &ds)
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
addToRunTimeSelectionTable(functionObject, Qdot, dictionary)
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
bool read(const char *, int32_t &)
A class for handling words, derived from string.
virtual bool read(const dictionary &)
Read the randomise data.
virtual bool read(const dictionary &)
Read the fieldExpression data.
defineTypeNameAndDebug(Qdot, 0)
log(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
virtual ~log()
Destructor.