dune-istl
2.2.0
|
Iterator over the levels in the hierarchy. More...
#include <dune/istl/paamg/hierarchy.hh>
Public Member Functions | |
LevelIterator () | |
Constructor. | |
LevelIterator (Element *element) | |
LevelIterator (const LevelIterator< typename remove_const< C >::type, typename remove_const< T1 >::type > &other) | |
Copy constructor. | |
LevelIterator (const LevelIterator< const typename remove_const< C >::type, const typename remove_const< T1 >::type > &other) | |
Copy constructor. | |
bool | equals (const LevelIterator< typename remove_const< C >::type, typename remove_const< T1 >::type > &other) const |
Equality check. | |
bool | equals (const LevelIterator< const typename remove_const< C >::type, const typename remove_const< T1 >::type > &other) const |
Equality check. | |
T1 & | dereference () const |
Dereference the iterator. | |
void | increment () |
Move to the next coarser level. | |
void | decrement () |
Move to the next fine level. | |
bool | isRedistributed () const |
Check whether there was a redistribution at the current level. | |
T1 & | getRedistributed () const |
Get the redistributed container. | |
void | addRedistributed (T1 *t) |
void | deleteRedistributed () |
Friends | |
class | LevelIterator< typename remove_const< C >::type, typename remove_const< T1 >::type > |
class | LevelIterator< const typename remove_const< C >::type, const typename remove_const< T1 >::type > |
Iterator over the levels in the hierarchy.
operator++() moves to the next coarser level in the hierarchy. while operator--() moves to the next finer level in the hierarchy.
Dune::Amg::Hierarchy< T, A >::LevelIterator< C, T1 >::LevelIterator | ( | ) | [inline] |
Constructor.
Dune::Amg::Hierarchy< T, A >::LevelIterator< C, T1 >::LevelIterator | ( | Element * | element | ) | [inline] |
Dune::Amg::Hierarchy< T, A >::LevelIterator< C, T1 >::LevelIterator | ( | const LevelIterator< typename remove_const< C >::type, typename remove_const< T1 >::type > & | other | ) | [inline] |
Copy constructor.
Dune::Amg::Hierarchy< T, A >::LevelIterator< C, T1 >::LevelIterator | ( | const LevelIterator< const typename remove_const< C >::type, const typename remove_const< T1 >::type > & | other | ) | [inline] |
Copy constructor.
void Dune::Amg::Hierarchy< T, A >::LevelIterator< C, T1 >::addRedistributed | ( | T1 * | t | ) | [inline] |
void Dune::Amg::Hierarchy< T, A >::LevelIterator< C, T1 >::decrement | ( | ) | [inline] |
Move to the next fine level.
void Dune::Amg::Hierarchy< T, A >::LevelIterator< C, T1 >::deleteRedistributed | ( | ) | [inline] |
T1& Dune::Amg::Hierarchy< T, A >::LevelIterator< C, T1 >::dereference | ( | ) | const [inline] |
Dereference the iterator.
bool Dune::Amg::Hierarchy< T, A >::LevelIterator< C, T1 >::equals | ( | const LevelIterator< typename remove_const< C >::type, typename remove_const< T1 >::type > & | other | ) | const [inline] |
Equality check.
bool Dune::Amg::Hierarchy< T, A >::LevelIterator< C, T1 >::equals | ( | const LevelIterator< const typename remove_const< C >::type, const typename remove_const< T1 >::type > & | other | ) | const [inline] |
Equality check.
T1& Dune::Amg::Hierarchy< T, A >::LevelIterator< C, T1 >::getRedistributed | ( | ) | const [inline] |
Get the redistributed container.
void Dune::Amg::Hierarchy< T, A >::LevelIterator< C, T1 >::increment | ( | ) | [inline] |
Move to the next coarser level.
bool Dune::Amg::Hierarchy< T, A >::LevelIterator< C, T1 >::isRedistributed | ( | ) | const [inline] |
Check whether there was a redistribution at the current level.
friend class LevelIterator< const typename remove_const< C >::type,const typename remove_const< T1 >::type > [friend] |
friend class LevelIterator< typename remove_const< C >::type,typename remove_const< T1 >::type > [friend] |