106 #ifndef functionObjects_regionSizeDistribution_H 107 #define functionObjects_regionSizeDistribution_H 124 namespace functionObjects
131 class regionSizeDistribution
159 autoPtr<writer<scalar>> formatterPtr_;
162 autoPtr<coordinateSystem> coordSysPtr_;
168 Map<Type> regionSum(
const regionSplit&,
const Field<Type>&)
const;
172 List<Type> extractData(
const UList<label>& keys,
const Map<Type>&)
177 const coordSet& coords,
178 const word& valueName,
184 void writeAlphaFields
201 const word& fieldName,
211 const word& fieldName,
262 virtual bool write();
This class separates the mesh into distinct unconnected regions, each of which is then given a label ...
virtual bool write()
Calculate the regionSizeDistribution 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.
virtual bool execute()
Do nothing.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
TypeName("regionSizeDistribution")
Runtime type information.
This function object creates a size distribution via interrogating a continuous phase fraction field...
Holds list of sampling positions.
const word & name() const
Return the name of this functionObject.
A class for handling words, derived from string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual bool read(const dictionary &)
Read the regionSizeDistribution data.
virtual ~regionSizeDistribution()
Mesh consisting of general polyhedral cells.
List< wordRe > wordReList
A List of wordRe (word or regular expression)
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].