34 namespace functionObjects
50 bool Foam::functionObjects::log::calc()
57 const bool dimensionSetDebug = dimensionSet::debug;
60 if (!checkDimensions_)
62 dimensionSet::debug = 0;
72 if (!checkDimensions_)
74 dimensionSet::debug = dimensionSetDebug;
102 checkDimensions_(true)
118 if (
dict.found(
"clip"))
121 dict.lookup(
"clip") >> clipValue_;
124 checkDimensions_ =
dict.lookupOrDefault<
Switch>(
"checkDimensions",
true);
Macros for easy insertion into run-time selection tables.
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 list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base-class for Time/database functionObjects.
Switch log
Switch write log to Info.
word resultName_
Name of result field.
const word fieldName_
Name of field to process.
Calculates the natural logarithm of the specified scalar field.
virtual ~log()
Destructor.
virtual bool read(const dictionary &)
Read the randomise data.
bool store(const tmp< ObjectType > &tfield)
Store the given field in the objectRegistry.
A class for handling words, derived from string.
defineTypeNameAndDebug(adjustTimeStepToCombustion, 0)
addToRunTimeSelectionTable(functionObject, adjustTimeStepToCombustion, dictionary)
word name(const bool)
Return a word representation of a bool.
dimensionedScalar log(const dimensionedScalar &ds)
VolField< scalar > volScalarField
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)