Go to the documentation of this file.
120 #ifndef regionSplit_H
121 #define regionSplit_H
143 public MeshObject<polyMesh, TopologicalMeshObject, regionSplit>,
163 class bitSetOrBoolList
170 explicit bitSetOrBoolList(
const bitSet& select)
176 explicit bitSetOrBoolList(
const boolList& select)
183 bool test(
const label i)
const
185 return a_.
test(i) || b_.test(i);
193 void checkBoundaryFaceSync(
const boolList& blockedFace)
const;
209 const label seedCellID,
210 const label markValue,
219 label localRegionSplit
232 const label numLocalRegions,
233 const bitSetOrBoolList& blockedFace,
261 const bitSet& blockedFace,
285 return globalNumbering_;
306 const label numLocalRegions,
307 const bitSet& blockedFace,
List< label > labelList
A List of labels.
static const List< T > & null()
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
static const bitSet & null()
bool test(const label pos) const
Mesh consisting of general polyhedral cells.
regionSplit(const polyMesh &mesh, const bool doGlobalRegions=Pstream::parRun())
const polyMesh & mesh() const
This class separates the mesh into distinct unconnected regions, each of which is then given a label ...
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
globalIndex reduceRegions(const label numLocalRegions, const bitSet &blockedFace, labelList &cellRegion) const
static int myProcNo(const label communicator=worldComm)
static bool & parRun() noexcept
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
label nLocalRegions() const
const globalIndex & globalNumbering() const noexcept