- Home
- About DUNE
- Download
- Documentation
- Community
- Development
A pair consisting of a global and local index. More...
#include <dune/common/parallel/indexset.hh>
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 GlobalIndex & | global () const |
Get the global index. | |
LocalIndex & | local () |
Get the local index. | |
const LocalIndex & | local () const |
Get the local index. | |
void | setLocal (int index) |
Set the local index. | |
Friends | |
class | MPITraits< IndexPair< TG, TL > > |
std::ostream & | operator<< (std::ostream &, const IndexPair< TG, TL > &) |
Print an index pair. | |
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 &) |
A pair consisting of a global and local index.
std::ostream& operator<< | ( | std::ostream & | os, | |
const IndexPair< TG, TL > & | pair | |||
) | [friend] |
Print an index pair.
os | The outputstream to print to. | |
pair | The index pair to print. |
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].