37 inline bool surfAndLabel::less::operator()
39 const surfAndLabel& one,
40 const surfAndLabel& two
43 const triSurface& surf = *one.surfPtr_;
44 return surf[one.index_].region() < surf[two.index_].region();
#define forAll(list, i)
Loop across all elements in list.
sortLabelledTri(const triSurface &)
Construct from surface, sorting the faces according to patch.
T & operator[](const label)
Return element of UList.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
labelList indices() const
Return the list of sorted point indices.
static bool less(const vector &x, const vector &y)
To compare normals.
void setSize(const label)
Reset size of List.
Triangulated surface description with patch information.
label size() const
Return the number of elements in the UList.