33 template<
class FaceList,
class Po
intField>
51 const labelList& nbrFaces = edgeFaces[edgeI];
53 if (nbrFaces.size() == 1)
55 edgeOwner[edgeI] = nbrFaces[0];
61 for (
const label nbrFacei : nbrFaces)
63 const FaceType&
f = localFaces[nbrFacei];
65 if (
f.edgeDirection(edges[edgeI]) > 0)
67 edgeOwner[edgeI] = nbrFacei;
72 if (edgeOwner[edgeI] == -1)
75 <<
"Edge " << edgeI <<
" vertices:" << edges[edgeI]
76 <<
" is used by faces " << nbrFaces
79 <<
" none of which use the edge vertices in the same order"