dune-common 2.1.1
|
Information about an index residing on another processor. More...
#include <dune/common/parallel/remoteindices.hh>
Public Types | |
typedef T1 | GlobalIndex |
the type of the global index. This type has to provide at least a operator< 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 PairType & | localIndexPair () 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. | |
bool | operator== (const RemoteIndex &ri) const |
bool | operator!= (const RemoteIndex &ri) const |
Friends | |
class | IndicesSyncer |
class | RemoteIndexListModifier |
template<typename T , typename A , typename A1 > | |
void | repairLocalIndexPointers (std::map< int, SLList< std::pair< typename T::GlobalIndex, typename T::LocalIndex::Attribute >, A > > &, RemoteIndices< T, A1 > &, const T &) |
Information about an index residing on another processor.
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.
typedef T1 Dune::RemoteIndex< T1, T2 >::GlobalIndex |
the type of the global index. This type has to provide at least a operator< for sorting.
typedef IndexPair<GlobalIndex,ParallelLocalIndex<Attribute> > Dune::RemoteIndex< T1, T2 >::PairType |
The type of the index pair.
Dune::RemoteIndex< T1, T2 >::RemoteIndex | ( | ) |
Parameterless Constructor.
Dune::RemoteIndex< T1, T2 >::RemoteIndex | ( | const T2 & | attribute, |
const PairType * | local | ||
) |
Constructor.
attribute | The attribute of the index on the remote processor. |
local | The corresponding local index. |
Dune::RemoteIndex< T1, T2 >::RemoteIndex | ( | const T2 & | attribute | ) |
Constructor. Private as it should only be called from within Indexset.
attribute | The attribute of the index on the remote processor. |
const T2 Dune::RemoteIndex< T1, T2 >::attribute | ( | ) | const [inline] |
Get the attribute of the index on the remote process.
Referenced by Dune::RemoteIndex< T1, T2 >::operator==().
const IndexPair< T1, ParallelLocalIndex< T2 > > & Dune::RemoteIndex< T1, T2 >::localIndexPair | ( | ) | const [inline] |
Get the corresponding local index pair.
bool Dune::RemoteIndex< T1, T2 >::operator!= | ( | const RemoteIndex< T1, T2 > & | ri | ) | const [inline] |
bool Dune::RemoteIndex< T1, T2 >::operator== | ( | const RemoteIndex< T1, T2 > & | ri | ) | const [inline] |
References Dune::RemoteIndex< T1, T2 >::attribute().
friend class IndicesSyncer [friend] |
friend class RemoteIndexListModifier [friend] |
void repairLocalIndexPointers | ( | std::map< int, SLList< std::pair< typename T::GlobalIndex, typename T::LocalIndex::Attribute >, A > > & | , |
RemoteIndices< T, A1 > & | , | ||
const T & | |||
) | [friend] |