Go to the documentation of this file.
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"
#define forAll(list, i)
Loop across all elements in list.
errorManip< error > abort(error &err)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A List with indirect addressing.
#define FatalErrorIn(functionName)
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.