31 template<
class FaceList,
class Po
intField>
42 <<
"Calculating labels of patch edges in mesh edge list" <<
endl;
46 const edgeList& PatchEdges = edges();
63 (pp[PatchEdges[edgeI].start()], pp[PatchEdges[edgeI].end()]);
68 const labelList& curFaces = EdgeFaces[edgeI];
73 label curCell = faceCells[curFaces[facei]];
80 if (allEdges[ce[cellEdgeI]] == curEdge)
84 meshEdges[edgeI] = ce[cellEdgeI];
98 template<
class FaceList,
class Po
intField>
108 <<
"Calculating labels of patch edges in mesh edge list" <<
endl;
112 const edgeList& PatchEdges = edges();
124 const label globalPointi = pp[PatchEdges[edgeI].start()];
125 const edge curEdge(globalPointi, pp[PatchEdges[edgeI].end()]);
127 const labelList& pe = pointEdges[globalPointi];
131 if (allEdges[pe[i]] == curEdge)
133 meshEdges[edgeI] = pe[i];
145 template<
class FaceList,
class Po
intField>
160 if (e == Edges[pe[peI]])
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void size(const label)
Override size to be inconsistent with allocated storage.
Ostream & endl(Ostream &os)
Add newline and flush stream.
label whichEdge(const edge &) const
Given an edge in local point labels, return its.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
labelList meshEdges(const edgeList &allEdges, const labelListList &cellEdges, const labelList &faceCells) const
Return labels of patch edges in the global edge list using.
label start() const
Return start vertex label.
#define InfoInFunction
Report an information message using Foam::Info.