67 #ifndef functionObjects_histogram_H 68 #define functionObjects_histogram_H 78 namespace functionObjects
87 public fvMeshFunctionObject
106 autoPtr<setWriter<scalar>> formatterPtr_;
113 const coordSet& coords,
114 const word& valueName,
154 virtual bool write();
virtual bool write()
Calculate the histogram and write.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const word & name() const
Return the name of this functionObject.
A list of keyword definitions, which are a keyword followed by any number of values (e...
TypeName("histogram")
Runtime type information.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual bool execute()
Execute, currently does nothing.
virtual bool read(const dictionary &)
Read the histogram data.
histogram(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
A class for handling words, derived from string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void operator=(const histogram &)=delete
Disallow default bitwise assignment.
Write the volume-weighted histogram of a volScalarField.