143 public MeshObject<polyMesh, TopologicalMeshObject, regionSplit>,
172 class bitSetOrBoolList
179 explicit bitSetOrBoolList(
const bitSet& select)
185 explicit bitSetOrBoolList(
const boolList& select)
192 bool test(
const label i)
const
202 void checkBoundaryFaceSync(
const boolList& blockedFace)
const;
218 const label seedCellID,
219 const label markValue,
228 label localRegionSplit
241 const label numLocalRegions,
242 const bitSetOrBoolList& blockedFace,
270 const bitSet& blockedFace,
271 const List<labelPair>& explicitConnections = List<labelPair>(),
284 const List<labelPair>& explicitConnections = List<labelPair>(),
294 return globalNumbering_;
315 const label numLocalRegions,
316 const bitSet& blockedFace,
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
static const List< bool > & null() noexcept
MeshObject(const polyMesh &mesh)
const polyMesh & mesh() const noexcept
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
bool test(const label i) const
static int myProcNo(const label communicator=worldComm)
Rank of this process in the communicator (starting from masterNo()). Negative if the process is not a...
static bool parRun(const bool on) noexcept
Set as parallel run on/off.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
bool test(const label pos) const
Test for True value at specified position, never auto-vivify entries.
static const bitSet & null() noexcept
Return a null bitSet (reference to a nullObject).
Calculates a non-overlapping list of offsets based on an input size (eg, number of cells) from differ...
label totalSize() const noexcept
The total addressed size, which corresponds to the end offset and also the sum of all localSizes.
label localSize(const label proci) const
Size of proci data.
Mesh consisting of general polyhedral cells.
ClassName("regionSplit")
Runtime type information.
label nLocalRegions() const
Return local number of regions.
globalIndex reduceRegions(const label numLocalRegions, const bitSet &blockedFace, labelList &cellRegion) const
Manually consolidate regions globally by swapping information.
const globalIndex & globalNumbering() const noexcept
Return global region numbering.
regionSplit(const polyMesh &mesh, const bool doGlobalRegions=Pstream::parRun())
Construct from mesh.
label nRegions() const
Return total number of regions.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
List< label > labelList
A List of labels.
List< bool > boolList
A List of bools.