32 template<
class FaceList,
class Po
intField>
49 bndFaces[i] = bndEdgeToFace[i][0];
56 template<
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 size(const label n)
Older name for setAddressableSize.
void resize(const label len)
Adjust allocated size of list.
#define forAll(list, i)
Loop across all elements in list.
A non-owning sub-view of a List (allocated or unallocated storage).
void sort(UList< T > &list)
Sort the list.
labelList uniqBoundaryFaces() const
Extract sorted list of unique local faces associated with the boundary edges.
labelList boundaryFaces() const
Extract list of local faces corresponding to the boundary edges.