OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

sortLabelledTri Class Reference

Helper class which when constructed with a triSurface sorts the faces according to region number (or rather constructs a mapping). More...

Inheritance diagram for sortLabelledTri:
Collaboration diagram for sortLabelledTri:

List of all members.


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.

Detailed Description

Helper class which when constructed with a triSurface sorts the faces according to region number (or rather constructs a mapping).

Source files

Definition at line 97 of file sortLabelledTri.H.


Constructor & Destructor Documentation

sortLabelledTri ( const triSurface &  surf  ) 

Construct from surface, sorting the faces according to patch.

Definition at line 43 of file sortLabelledTri.C.


Member Function Documentation

void indices ( labelList &  newIndices  )  const

Set the labelList to those of sorted point indices.

Definition at line 61 of file sortLabelledTri.C.

labelList indices (  )  const

Return the list of sorted point indices.

Definition at line 72 of file sortLabelledTri.C.

References UList< surfAndLabel >::operator[]().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd