172 #ifndef Foam_functionObjects_regionSizeDistribution_H 173 #define Foam_functionObjects_regionSizeDistribution_H 190 namespace functionObjects
197 class regionSizeDistribution
199 public functionObjects::fvMeshFunctionObject,
226 mutable autoPtr<coordSetWriter> formatterPtr_;
229 autoPtr<coordinateSystem> csysPtr_;
244 scalar nDownstreamBins_;
247 scalar maxDownstream_;
257 void writeAlphaFields
259 const regionSplit& regions,
261 const Map<scalar>& regionVolume,
266 labelHashSet findPatchRegions(
const regionSplit&)
const;
274 const word& fieldName,
279 const coordSet& coords
285 const word& fieldName,
287 const regionSplit& regions,
293 const coordSet& coords
334 virtual bool write();
void operator=(const regionSizeDistribution &)=delete
No copy assignment.
virtual bool write()
Calculate the regionSizeDistribution and write.
virtual bool execute()
Do nothing.
Forwards and collection of common volume field types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
regionSizeDistribution(const word &name, const Time &runTime, const dictionary &)
Construct for given objectRegistry and dictionary.
TypeName("regionSizeDistribution")
Runtime type information.
const word & name() const noexcept
Return the name of this functionObject.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual bool read(const dictionary &)
Read the regionSizeDistribution data.
virtual ~regionSizeDistribution()=default
List< label > labelList
A List of labels.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].