35 template<
class>
class FaceList,
55 const labelList& nbrFaces = edgeFaces[edgeI];
57 if (nbrFaces.size() == 1)
59 edgeOwner[edgeI] = nbrFaces[0];
67 const Face&
f = localFaces[nbrFaces[i]];
69 if (
f.edgeDirection(edges[edgeI]) > 0)
71 edgeOwner[edgeI] = nbrFaces[i];
76 if (edgeOwner[edgeI] == -1)
79 <<
"Edge " << edgeI <<
" vertices:" << edges[edgeI]
80 <<
" is used by faces " << nbrFaces
83 <<
" none of which use the edge vertices in the same order"