Dune::GlobalLookupIndexSet< I > Class Template Reference
[ISTL Communication]

#include <indexset.hh>

List of all members.


Detailed Description

template<class I>
class Dune::GlobalLookupIndexSet< I >

Decorates an index set with the possibility to find a global index that is mapped to a specific local.


Public Types

typedef I ParallelIndexSet
 The type of the index set.
typedef ParallelIndexSet::LocalIndex LocalIndex
 The type of the local index.
typedef ParallelIndexSet::GlobalIndex GlobalIndex
 The type of the global index.
typedef ParallelIndexSet::const_iterator const_iterator
 The iterator over the index pairs.

Public Member Functions

 GlobalLookupIndexSet (const ParallelIndexSet &indexset, std::size_t size)
 Constructor.
 ~GlobalLookupIndexSet ()
 Destructor.
const IndexPairoperator[] (const GlobalIndex &global) const
 Find the index pair with a specific global id.
const IndexPairpair (const std::size_t &local) const
 Get the index pair corresponding to a local index.
const_iterator begin () const
 Get an iterator over the indices positioned at the first index.
const_iterator end () const
 Get an iterator over the indices positioned after the last index.
int seqNo () const
 Get the internal sequence number.
size_t size () const
 Get the total number (public and nonpublic) indices.

The documentation for this class was generated from the following file:

Generated on 12 Dec 2007 with Doxygen (ver 1.5.1)