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();
void operator=(const regionSizeDistribution &)=delete
Disallow default bitwise assignment.
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.
FvWallInfoData< WallInfo, label > 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.
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...
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
regionSizeDistribution(const word &name, const Time &runTime, const dictionary &)
Construct for given objectRegistry and dictionary.
TypeName("regionSizeDistribution")
Runtime type information.
Creates a size distribution via interrogating a continuous phase fraction field.
static List< word > fieldNames
virtual wordList fields() const
Return the list of fields required.
Pre-declare SubField and related Field type.
A class for handling words, derived from string.
virtual bool read(const dictionary &)
Read the regionSizeDistribution data.
virtual ~regionSizeDistribution()
List< word > wordList
A List of words.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
List< wordRe > wordReList
A List of wordRe (word or regular expression)
A class for managing temporary objects.
A HashTable to objects of type <T> with a label key.