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"