37 namespace functionObjects
55 histogramModelPtr_(nullptr)
88 if (!histogramModelPtr_->write(
log))
virtual bool read(const dictionary &dict)
Read the top-level dictionary.
Computes the natural logarithm of an input volScalarField.
defineTypeNameAndDebug(ObukhovLength, 0)
virtual bool write()
Calculate the histogram and write.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< histogramModel > New(const word &name, const fvMesh &mesh, const dictionary &dict)
Return a reference to the selected histogram model.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual bool execute()
Execute (effectively no-op)
Macros for easy insertion into run-time selection tables.
const word & name() const noexcept
Return the name of this functionObject.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
histogram(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
virtual const word & type() const =0
Runtime type information.
addToRunTimeSelectionTable(functionObject, ObukhovLength, dictionary)
messageStream Info
Information stream (stdout output on master, null elsewhere)
virtual bool read(const dictionary &dict)
Read optional controls.
const fvMesh & mesh_
Reference to the fvMesh.