Dune::Amg::Hierarchy< T, A >::LevelIterator< C, T1 > Class Template Reference

#include <hierarchy.hh>

List of all members.


Detailed Description

template<typename T, typename A = std::allocator<T>>
template<class C, class T1>
class Dune::Amg::Hierarchy< T, A >::LevelIterator< C, T1 >

Iterator over the levels in the hierarchy.

operator++() moves to the next coarser level in the hierarchy. while operator--() moved to the next finer level in the hierarchy.


Public Member Functions

 LevelIterator ()
 Constructor.
 LevelIterator (const LevelIterator< typename Dune::RemoveConst< C >::Type, typename Dune::RemoveConst< T1 >::Type > &other)
 Copy constructor.
 LevelIterator (const LevelIterator< const typename Dune::RemoveConst< C >::Type, const typename Dune::RemoveConst< T1 >::Type > &other)
 Copy constructor.
bool equals (const LevelIterator< typename Dune::RemoveConst< C >::Type, typename Dune::RemoveConst< T1 >::Type > &other) const
 Equality check.
bool equals (const LevelIterator< const typename Dune::RemoveConst< C >::Type, const typename Dune::RemoveConst< 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.

Member Function Documentation

template<typename T, typename A = std::allocator<T>>
template<class C, class T1>
bool Dune::Amg::Hierarchy< T, A >::LevelIterator< C, T1 >::isRedistributed (  )  const [inline]

Check whether there was a redistribution at the current level.

Returns:
True if there is a redistributed version of the conatainer at the current level.

template<typename T, typename A = std::allocator<T>>
template<class C, class T1>
T1& Dune::Amg::Hierarchy< T, A >::LevelIterator< C, T1 >::getRedistributed (  )  const [inline]

Get the redistributed container.

Returns:
The redistributed container.


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

Generated on 12 Dec 2007 with Doxygen (ver 1.5.1)