32template<
class FaceList,
class Po
intField>
49 bndFaces[i] = bndEdgeToFace[i][0];
56template<
class FaceList,
class Po
intField>
60 labelList bndFaces(this->boundaryFaces());
62 const label len = bndFaces.
size();
68 label prev = bndFaces[0];
71 for (label i=1; i < len; ++i)
73 if (prev != bndFaces[i])
76 bndFaces[nUniq] = prev;
void resize(const label len)
Adjust allocated size of list.
label nBoundaryEdges() const
Number of boundary edges == (nEdges() - nInternalEdges()).
label nInternalEdges() const
Number of internal edges.
labelList boundaryFaces() const
Extract list of local faces corresponding to the boundary edges.
const labelListList & edgeFaces() const
Return edge-face addressing.
labelList uniqBoundaryFaces() const
Extract sorted list of unique local faces associated with the boundary edges.
A non-owning sub-view of a List (allocated or unallocated storage).
void size(const label n)
Older name for setAddressableSize.
List< label > labelList
A List of labels.
void sort(UList< T > &list)
Sort the list.
#define forAll(list, i)
Loop across all elements in list.