63 #ifndef LagrangianDistribution_H
64 #define LagrangianDistribution_H
73 namespace functionObjects
80 class LagrangianDistribution
82 public LagrangianMeshFunctionObject
98 autoPtr<setWriter> formatter_;
104 void readCoeffs(
const dictionary&
dict);
108 template<
template<
class>
class GeoField>
111 const word& weightFieldName,
116 void writeDistribution
118 const word& fieldName,
119 const word& componentName,
126 void writeDistribution
129 const word& fieldName,
130 const word& componentName,
138 template<
template<
class>
class GeoField,
class Type>
139 bool writeDistribution
142 const word& fieldName
182 virtual bool write();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
const word & name() const
Return the name of this functionObject.
Function to generate a plot of the distribution of the values in a Lagrangian field.
void operator=(const LagrangianDistribution &)=delete
Disallow default bitwise assignment.
virtual wordList fields() const
Return the list of fields required.
TypeName("LagrangianDistribution")
Runtime type information.
LagrangianDistribution(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
virtual ~LagrangianDistribution()
Destructor.
virtual bool execute()
Execute. Does nothing.
virtual bool write()
Write the sum.
virtual bool read(const dictionary &)
Read parameters.
A class for handling words, derived from string.
List< word > wordList
A List of words.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.