44#ifndef Foam_histogramModel_H
45#define Foam_histogramModel_H
166 virtual bool write(
const bool log) = 0;
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Base class for writing single files from the function objects.
Mesh data needed to do the Finite Volume discretisation.
const fvMesh & mesh() const noexcept
Return const reference to the mesh.
declareRunTimeSelectionTable(autoPtr, histogramModel, dictionary,(const word &name, const fvMesh &mesh, const dictionary &dict),(name, mesh, dict))
volScalarField & getOrReadField(const word &fieldName) const
Return requested field from the object registry or read+register the field to the object registry.
void operator=(const histogramModel &)=delete
No copy assignment.
histogramModel(const histogramModel &)=delete
No copy construct.
TypeName("histogramModel")
Runtime type information.
virtual bool read(const dictionary &dict)
Read the function-object dictionary.
static autoPtr< histogramModel > New(const word &name, const fvMesh &mesh, const dictionary &dict)
Return a reference to the selected histogram model.
virtual void writeFileHeader(Ostream &os)
Output file header information.
virtual ~histogramModel()=default
Destructor.
const word & fieldName() const noexcept
Return const reference to the operand field name.
histogramModel(const word &name, const fvMesh &mesh, const dictionary &dict)
Construct from components.
virtual bool write(const bool log)=0
Write data to stream and files.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
dimensionedScalar log(const dimensionedScalar &ds)
Field< label > labelField
Specialisation of Field<T> for label.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes).
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.