Go to the documentation of this file.
37 if (cellData.
size() !=
mesh.nCells())
40 <<
"Number of cell values " << cellData.
size()
41 <<
" is not equal to the number of cells in the mesh "
49 neighbourCellData.
setSize(nBnd);
58 neighbourCellData[bFaceI] = cellData[faceCells[i]];
61 syncTools::swapBoundaryFacePositions(
mesh, neighbourCellData);
76 forAll(meshPoints, coupledPointI)
78 label meshPointI = meshPoints[coupledPointI];
82 slaves[coupledPointI].size()
83 + transformedSlaves[coupledPointI].size()
88 isMasterPoint[meshPointI] =
true;
90 donePoint[meshPointI] =
true;
99 if (!donePoint[pointI])
101 isMasterPoint[pointI] =
true;
105 return isMasterPoint;
120 forAll(meshEdges, coupledEdgeI)
122 label meshEdgeI = meshEdges[coupledEdgeI];
126 slaves[coupledEdgeI].size()
127 + transformedSlaves[coupledEdgeI].size()
132 isMasterEdge[meshEdgeI] =
true;
134 doneEdge[meshEdgeI] =
true;
143 if (!doneEdge[edgeI])
145 isMasterEdge[edgeI] =
true;
164 refCast<const coupledPolyPatch>(
patches[patchI]);
195 if (!refCast<const coupledPolyPatch>(pp).owner())
const labelListList & globalPointTransformedSlaves() const
const labelListList & globalPointSlaves() const
void unset(const PackedList< 1 > &)
Unset specified bits.
#define forAll(list, i)
Loop across all elements in list.
virtual bool coupled() const
Return true if this patch is geometrically coupled (i.e. faces and.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
The coupledPolyPatch is an abstract base class for patches that couple regions of the computational d...
virtual bool owner() const =0
Does this side own the patch ?
Mesh consisting of general polyhedral cells.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A patch is a list of labels that address the faces in the global face list.
const labelList & coupledPatchMeshEdges() const
Return map from coupledPatch edges to mesh edges.
const labelListList & globalEdgeSlaves() const
Various mesh related information for a parallel run. Upon construction, constructs all info using par...
errorManip< error > abort(error &err)
const labelUList & faceCells() const
Return face-cell addressing.
label start() const
Return start label of this patch in the polyMesh face list.
void setSize(const label)
Reset size of List.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const labelListList & globalEdgeTransformedSlaves() const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const indirectPrimitivePatch & coupledPatch() const
Return patch of all coupled faces.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
const globalMeshData & globalData() const
Return parallel info.
label size() const
Return the number of elements in the UList.
const labelList & meshPoints() const
Return labelList of mesh points in patch.