OpenFOAM logo
Open Source CFD Toolkit

ParSortableList Class Template Reference

Inheritance diagram for ParSortableList:

Inheritance graph
[legend]
Collaboration diagram for ParSortableList:

Collaboration graph
[legend]
List of all members.

template<class Type>
class Foam::ParSortableList< Type >


Public Member Functions

 ParSortableList (const List< Type > &)
 Construct from List, sorting the elements.
 ParSortableList (const label size)
 Construct given size. Sort later on.
void sort ()
 Sort the list (if changed after construction time).
const labelList & indices () const
 Return the list of sorted point indices.
const labelList & procs () const
 Return the list of processor number.

Constructor & Destructor Documentation

ParSortableList (  const List< Type > &   ) 
 

Construct from List, sorting the elements.

ParSortableList (  const label  size  ) 
 

Construct given size. Sort later on.


Member Function Documentation

const labelList& indices (   )  const [inline]
 

Return the list of sorted point indices.

Definition at line 195 of file ParSortableList.H.

const labelList& procs (   )  const [inline]
 

Return the list of processor number.

Definition at line 201 of file ParSortableList.H.

void sort (   ) 
 

Sort the list (if changed after construction time).


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org