OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

ParSortableList Class Template Reference

Inheritance diagram for ParSortableList:

Inheritance graph
[legend]
Collaboration diagram for ParSortableList:

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Definition at line 77 of file ParSortableList.H.


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.

Classes

class  taggedValue
 Private class for sorting. Sorts on value_.

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

void sort (  ) 

Sort the list (if changed after construction time).

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.


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