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)
77 <<
"Edge " << edgeI <<
" vertices:" << edges[edgeI]
78 <<
" is used by faces " << nbrFaces
81 <<
" none of which use the edge vertices in the same order" #define forAll(list, i)
Loop across all elements in list.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void size(const label)
Override size to be inconsistent with allocated storage.
const List< Face > & localFaces() const
Return patch faces addressing into local point list.
A list of faces which address into the list of points.
const labelListList & edgeFaces() const
Return edge-face addressing.
const edgeList & edges() const
Return list of edges, address into LOCAL point list.
errorManip< error > abort(error &err)
A List with indirect addressing.