103#ifndef Foam_functionObjects_histogram_H
104#define Foam_functionObjects_histogram_H
114namespace functionObjects
123 public functionObjects::fvMeshFunctionObject,
124 public functionObjects::writeFile
141 mutable autoPtr<coordSetWriter> setWriterPtr_;
157 const dictionary&
dict
164 void operator=(
const histogram&) =
delete;
174 virtual bool read(
const dictionary&);
182 virtual bool write();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
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,...
const word & name() const noexcept
Return the name of this functionObject.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
Computes the volume-weighted histogram of an input volScalarField.
void operator=(const histogram &)=delete
No copy assignment.
virtual ~histogram()=default
TypeName("histogram")
Runtime type information.
histogram(const histogram &)=delete
No copy construct.
virtual bool execute()
Execute (effectively no-op)
virtual bool write()
Calculate the histogram and write.
virtual bool read(const dictionary &)
Read the histogram data.
histogram(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
Base class for writing single files from the function objects.
A class for handling words, derived from Foam::string.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.