33 template<
class>
class FaceList,
53 const labelList& nbrFaces = edgeFaces[edgeI];
55 if (nbrFaces.
size() == 1)
57 edgeOwner[edgeI] = nbrFaces[0];
65 const Face&
f = localFaces[nbrFaces[i]];
67 if (f.edgeDirection(edges[edgeI]) > 0)
69 edgeOwner[edgeI] = nbrFaces[i];
74 if (edgeOwner[edgeI] == -1)
78 "PatchTools::edgeOwner()" 80 <<
"Edge " << edgeI <<
" vertices:" << edges[edgeI]
81 <<
" is used by faces " << nbrFaces
84 <<
" none of which use the edge vertices in the same order"
const labelListList & edgeFaces() const
Return edge-face addressing.
void size(const label)
Override size to be inconsistent with allocated storage.
A List with indirect addressing.
const edgeList & edges() const
Return list of edges, address into LOCAL point list.
static labelList edgeOwner(const PrimitivePatch< Face, FaceList, PointField, PointType > &)
If 2 face neighbours: label of face where ordering of edge.
errorManip< error > abort(error &err)
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
A list of faces which address into the list of points.
const List< Face > & localFaces() const
Return patch faces addressing into local point list.