Helper class which when constructed with a triSurface sorts the faces according to region number (or rather constructs a mapping). More...
#include <triSurface/sortLabelledTri.H>
Helper class which when constructed with a triSurface sorts the faces according to region number (or rather constructs a mapping).
Definition at line 102 of file sortLabelledTri.H.
Public Member Functions | |
sortLabelledTri (const triSurface &) | |
Construct from surface, sorting the faces according to patch.
| |
void | indices (labelList &) const |
Set the labelList to those of sorted point indices.
| |
labelList | indices () const |
Return the list of sorted point indices.
|
sortLabelledTri | ( | const triSurface & | surf ) |
Construct from surface, sorting the faces according to patch.
Definition at line 51 of file sortLabelledTri.C.
References forAll, UList< surfAndLabel >::operator[](), and Foam::sort().
void indices | ( | labelList & | newIndices ) | const |
Set the labelList to those of sorted point indices.
Definition at line 69 of file sortLabelledTri.C.
References forAll, UList< surfAndLabel >::operator[](), List< T >::setSize(), and List< surfAndLabel >::size().
labelList indices | ( | ) | const |
Return the list of sorted point indices.
Definition at line 80 of file sortLabelledTri.C.
References List< surfAndLabel >::size().