96 #ifndef functionObjects_regionSizeDistribution_H
97 #define functionObjects_regionSizeDistribution_H
115 namespace functionObjects
122 class regionSizeDistribution
124 public fvMeshFunctionObject
152 autoPtr<setWriter> formatterPtr_;
158 Map<Type> regionSum(
const regionSplit&,
const Field<Type>&)
const;
162 List<Type> extractData(
const UList<label>& keys,
const Map<Type>&)
167 void writeAlphaFields
169 const regionSplit& regions,
170 const Map<label>& keepRegions,
186 const word& fieldName,
198 const word& fieldName,
210 const word& fieldName,
260 virtual bool write();
Pre-declare SubField and related Field type.
Generic GeometricField class.
A HashTable to objects of type <T> with a label key.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const word & name() const
Return the name of this functionObject.
Creates a size distribution via interrogating a continuous phase fraction field.
TypeName("regionSizeDistribution")
Runtime type information.
regionSizeDistribution(const word &name, const Time &runTime, const dictionary &)
Construct for given objectRegistry and dictionary.
virtual wordList fields() const
Return the list of fields required.
void operator=(const regionSizeDistribution &)=delete
Disallow default bitwise assignment.
virtual ~regionSizeDistribution()
virtual bool execute()
Do nothing.
virtual bool write()
Calculate the regionSizeDistribution and write.
virtual bool read(const dictionary &)
Read the regionSizeDistribution data.
This class separates the mesh into distinct unconnected regions, each of which is then given a label ...
A class for managing temporary objects.
A class for handling words, derived from string.
static List< word > fieldNames
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
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.
List< wordRe > wordReList
A List of wordRe (word or regular expression)