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]];
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;
195 if (!refCast<const coupledPolyPatch>(pp).owner())
#define forAll(list, i)
Loop across all elements in list.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void setSize(const label)
Reset size of List.
void unset(const PackedList< 1 > &)
Unset specified bits.
const labelList & meshPoints() const
Return labelList of mesh points in patch. They are constructed.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
label size() const
Return the number of elements in the UList.
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 ?
Various mesh related information for a parallel run. Upon construction, constructs all info using par...
const labelListList & globalEdgeTransformedSlaves() const
const labelList & coupledPatchMeshEdges() const
Return map from coupledPatch edges to mesh edges.
const labelListList & globalPointSlaves() const
const labelListList & globalPointTransformedSlaves() const
const indirectPrimitivePatch & coupledPatch() const
Return patch of all coupled faces.
const labelListList & globalEdgeSlaves() const
Mesh consisting of general polyhedral cells.
const globalMeshData & globalData() const
Return parallel info.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
A patch is a list of labels that address the faces in the global face list.
virtual bool coupled() const
Return true if this patch is geometrically coupled (i.e. faces and.
label start() const
Return start label of this patch in the polyMesh face list.
const labelUList & faceCells() const
Return face-cell addressing.
label nInternalFaces() const
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const fvPatchList & patches
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManip< error > abort(error &err)