Go to the documentation of this file.
37 static constexpr Foam::label
BLOCKED = -2;
42 Foam::regionSplit2D::regionSplit2D
54 label regionI = globalFaces.
toGlobal(0);
60 label nBlockedFaces = 0;
61 forAll(blockedFaces, facei)
63 if (blockedFaces.test(facei))
65 for (
const label edgei :
patch.faceEdges()[facei])
67 changedEdges.
append(edgei);
117 Map<label> regionToCompactAddr(changedRegions.size());
118 label compactRegionI = 0;
119 forAll(allFaceInfo, faceI)
121 label regionI = allFaceInfo[faceI].data();
125 && regionToCompactAddr.insert(regionI, compactRegionI)
145 nRegions_ = regionToCompactAddr.size();
148 forAll(allFaceInfo, faceI)
150 label regionI = allFaceInfo[faceI].data();
153 this->operator[](faceI) = regionToCompactAddr[regionI] + offset;
static void mapCombineGather(const List< commsStruct > &comms, Container &Values, const CombineOp &cop, const int tag, const label comm)
List< label > labelList
A List of labels.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
Wave propagation of information along patch. Every iteration information goes through one layer of fa...
static constexpr Foam::label BLOCKED
bool isLocal(const label i) const
Mesh consisting of general polyhedral cells.
DynamicList< T, SizeMin > & append(const T &val)
For use with PatchEdgeFaceWave. Determines topological distance to starting edges....
#define forAllIters(container, iter)
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
PrimitivePatch< IndirectList< face >, const pointField & > indirectPrimitivePatch
A PrimitivePatch with an IndirectList for the faces, const reference for the point field.
static constexpr Foam::label UNASSIGNED
static void mapCombineScatter(const List< commsStruct > &comms, Container &Values, const int tag, const label comm)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
label toGlobal(const label i) const
A list of faces which address into the list of points.