101 #ifndef regionSplit_H 102 #define regionSplit_H 122 public MeshObject<polyMesh, TopologicalMeshObject, regionSplit>,
133 void calcNonCompactRegionSplit
144 const bool doGlobalRegions,
192 return globalNumberingPtr_();
ClassName("regionSplit")
Runtime type information.
This class separates the mesh into distinct unconnected regions, each of which is then given a label ...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
label nLocalRegions() const
Return local number of regions.
static int myProcNo(const label communicator=0)
Number of this process (starting from masterNo() = 0)
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
label size() const
Global sum of localSizes.
regionSplit(const polyMesh &, const bool doGlobalRegions=Pstream::parRun())
Construct from mesh.
const globalIndex & globalNumbering() const
Return global region numbering.
static bool & parRun()
Is this a parallel run?
label nRegions() const
Return total number of regions.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
label localSize() const
My local size.