Dune::RemoteIndex< T1, T2 > Class Template Reference
[ISTL Communication]

#include <remoteindices.hh>

List of all members.


Detailed Description

template<typename T1, typename T2>
class Dune::RemoteIndex< T1, T2 >

Information about an index residing on another processor.


Public Types

typedef T1 GlobalIndex
 the type of the global index. This type has to provide at least a operator&lt; for sorting.
typedef T2 Attribute
 The type of the attributes. Normally this will be an enumeration like.
typedef IndexPair< GlobalIndex,
ParallelLocalIndex< Attribute > > 
PairType
 The type of the index pair.

Public Member Functions

const Attribute attribute () const
 Get the attribute of the index on the remote process.
const PairTypelocalIndexPair () const
 Get the corresponding local index pair.
 RemoteIndex ()
 Parameterless Constructor.
 RemoteIndex (const T2 &attribute, const PairType *local)
 Constructor.
 RemoteIndex (const T2 &attribute)
 Constructor. Private as it should only be called from within Indexset.

Friends

template<typename T, typename A>
void repairLocalIndexPointers (std::map< int, SLList< typename T::GlobalIndex, A > > &, RemoteIndices< T > &, const T &)
 Repair the pointers to the local indices in the remote indices.

Member Typedef Documentation

template<typename T1, typename T2>
typedef T2 Dune::RemoteIndex< T1, T2 >::Attribute

The type of the attributes. Normally this will be an enumeration like.

 enum Attributes{owner, border, overlap}
e.g. OwnerOverlapCopyAttributes.


Constructor & Destructor Documentation

template<typename T1, typename T2>
Dune::RemoteIndex< T1, T2 >::RemoteIndex ( const T2 &  attribute,
const PairType local 
) [inline]

Constructor.

Parameters:
attribute The attribute of the index on the remote processor.
local The corresponding local index.

template<typename T1, typename T2>
Dune::RemoteIndex< T1, T2 >::RemoteIndex ( const T2 &  attribute  )  [inline]

Constructor. Private as it should only be called from within Indexset.

Parameters:
attribute The attribute of the index on the remote processor.


Member Function Documentation

template<typename T1, typename T2>
const T2 Dune::RemoteIndex< T1, T2 >::attribute (  )  const [inline]

Get the attribute of the index on the remote process.

Returns:
The remote attribute.

template<typename T1, typename T2>
const IndexPair< T1, ParallelLocalIndex< T2 > > & Dune::RemoteIndex< T1, T2 >::localIndexPair (  )  const [inline]

Get the corresponding local index pair.

Returns:
The corresponding local index pair.


Friends And Related Function Documentation

template<typename T1, typename T2>
template<typename T, typename A>
void repairLocalIndexPointers ( std::map< int, SLList< typename T::GlobalIndex, A > > &  globalMap,
RemoteIndices< T > &  remoteIndices,
const T &  indexSet 
) [friend]

Repair the pointers to the local indices in the remote indices.

Parameters:
globalMap The map of the process number to the list of global indices corresponding to the remote index list of the process.
remoteIndices The known remote indices.
indexSet The set of local indices of the current process.


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

Generated on 9 Apr 2008 with Doxygen (ver 1.5.2) [logfile].