dune-grid 2.9.0
Classes | Public Types | Public Member Functions | List of all members
Dune::YaspHierarchicIterator< GridImp > Class Template Reference

YaspHierarchicIterator enables iteration over son entities of codim 0. More...

#include <dune/grid/yaspgrid/yaspgridhierarchiciterator.hh>

Public Types

typedef GridImp::YGridLevelIterator YGLI
 
typedef GridImp::YGrid::Iterator I
 
typedef GridImp::template Codim< 0 >::Entity Entity
 

Public Member Functions

 YaspHierarchicIterator ()
 default constructor creating empty iterator More...
 
 YaspHierarchicIterator (const YGLI &g, const I &it, int maxlevel)
 constructor More...
 
void increment ()
 increment More...
 
bool equals (const YaspHierarchicIterator &rhs) const
 equality More...
 
const Entitydereference () const
 dereferencing More...
 
void print (std::ostream &s) const
 

Detailed Description

template<class GridImp>
class Dune::YaspHierarchicIterator< GridImp >

YaspHierarchicIterator enables iteration over son entities of codim 0.

Member Typedef Documentation

◆ Entity

template<class GridImp >
typedef GridImp::template Codim<0>::Entity Dune::YaspHierarchicIterator< GridImp >::Entity

◆ I

template<class GridImp >
typedef GridImp::YGrid::Iterator Dune::YaspHierarchicIterator< GridImp >::I

◆ YGLI

template<class GridImp >
typedef GridImp::YGridLevelIterator Dune::YaspHierarchicIterator< GridImp >::YGLI

Constructor & Destructor Documentation

◆ YaspHierarchicIterator() [1/2]

template<class GridImp >
Dune::YaspHierarchicIterator< GridImp >::YaspHierarchicIterator ( )
inline

default constructor creating empty iterator

◆ YaspHierarchicIterator() [2/2]

template<class GridImp >
Dune::YaspHierarchicIterator< GridImp >::YaspHierarchicIterator ( const YGLI g,
const I it,
int  maxlevel 
)
inline

constructor

Member Function Documentation

◆ dereference()

template<class GridImp >
const Entity & Dune::YaspHierarchicIterator< GridImp >::dereference ( ) const
inline

dereferencing

◆ equals()

template<class GridImp >
bool Dune::YaspHierarchicIterator< GridImp >::equals ( const YaspHierarchicIterator< GridImp > &  rhs) const
inline

equality

◆ increment()

template<class GridImp >
void Dune::YaspHierarchicIterator< GridImp >::increment ( )
inline

increment

◆ print()

template<class GridImp >
void Dune::YaspHierarchicIterator< GridImp >::print ( std::ostream &  s) const
inline

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