30 template<
class FaceList,
class Po
intField>
47 const labelList& nbrFaces = edgeFaces[edgeI];
49 if (nbrFaces.
size() == 1)
51 edgeOwner[edgeI] = nbrFaces[0];
59 const FaceType&
f = localFaces[nbrFaces[i]];
61 if (f.edgeDirection(edges[edgeI]) > 0)
63 edgeOwner[edgeI] = nbrFaces[i];
68 if (edgeOwner[edgeI] == -1)
71 <<
"Edge " << edgeI <<
" vertices:" << edges[edgeI]
72 <<
" is used by faces " << nbrFaces
75 <<
" 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.
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)
std::remove_reference< FaceList >::type::value_type FaceType
const List< FaceType > & localFaces() const
Return patch faces addressing into local point list.
A List with indirect addressing.