Go to the documentation of this file.
120 #ifndef regionSplit_H
121 #define regionSplit_H
143 public MeshObject<polyMesh, TopologicalMeshObject, regionSplit>,
173 const label seedCellID,
174 const label markValue,
183 label calcLocalRegionSplit
196 const bool doGlobalRegions,
244 return *globalNumberingPtr_;
266 const label numLocalRegions,
static bool & parRun()
Is this a parallel run?
label localSize() const
My local size.
Mesh consisting of general polyhedral cells.
regionSplit(const polyMesh &mesh, const bool doGlobalRegions=Pstream::parRun())
Construct from mesh.
const globalIndex & globalNumbering() const
Return global region numbering.
const polyMesh & mesh() const
This class separates the mesh into distinct unconnected regions, each of which is then given a label ...
label nRegions() const
Return total number of regions.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
static int myProcNo(const label communicator=0)
Number of this process (starting from masterNo() = 0)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
label size() const
Global sum of localSizes.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
autoPtr< globalIndex > reduceRegions(const label numLocalRegions, const boolList &blockedFace, labelList &cellRegion) const
Manually consolidate the regions globally by swapping information.
ClassName("regionSplit")
Runtime type information.
label nLocalRegions() const
Return local number of regions.