Dune::IndexPair< TG, TL > Class Template Reference
[Parallel Computing based on Indexsets]

A pair consisting of a global and local index. More...

#include <dune/common/parallel/indexset.hh>

List of all members.

Public Types

typedef TG GlobalIndex
 the type of the global index.
typedef TL LocalIndex
 the type of the local index.

Public Member Functions

 IndexPair (const GlobalIndex &global, const LocalIndex &local)
 Constructs a new Pair.
 IndexPair ()
 Construct a new Pair.
 IndexPair (const GlobalIndex &global)
 Constructs a new Pair.
const GlobalIndexglobal () const
 Get the global index.
LocalIndexlocal ()
 Get the local index.
const LocalIndexlocal () const
 Get the local index.
void setLocal (int index)
 Set the local index.

Friends

std::ostream & operator<< (std::ostream &, const IndexPair< TG, TL > &)
bool operator== (const IndexPair< TG, TL > &, const IndexPair< TG, TL > &)
bool operator!= (const IndexPair< TG, TL > &, const IndexPair< TG, TL > &)
bool operator< (const IndexPair< TG, TL > &, const IndexPair< TG, TL > &)
bool operator> (const IndexPair< TG, TL > &, const IndexPair< TG, TL > &)
bool operator<= (const IndexPair< TG, TL > &, const IndexPair< TG, TL > &)
bool operator>= (const IndexPair< TG, TL > &, const IndexPair< TG, TL > &)
bool operator== (const IndexPair< TG, TL > &, const TG &)
bool operator!= (const IndexPair< TG, TL > &, const TG &)
bool operator< (const IndexPair< TG, TL > &, const TG &)
bool operator> (const IndexPair< TG, TL > &, const TG &)
bool operator<= (const IndexPair< TG, TL > &, const TG &)
bool operator>= (const IndexPair< TG, TL > &, const TG &)

Detailed Description

template<class TG, class TL>
class Dune::IndexPair< TG, TL >

A pair consisting of a global and local index.


Friends And Related Function Documentation

template<class TG, class TL>
std::ostream& operator<< ( std::ostream &  ,
const IndexPair< TG, TL > &   
) [friend]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 25 Mar 2018 for dune-common by  doxygen 1.6.1