1#ifndef DUNE_GRID_SUPERENTITYITERATOR_HH
2#define DUNE_GRID_SUPERENTITYITERATOR_HH
4#include <dune/grid/common/entityiterator.hh>
17 template<
class Gr
id,
template<
class >
class SuperEntityIteratorImp >
18 class SuperEntityIterator
19 :
public EntityIterator< 0, Grid, SuperEntityIteratorImp< Grid > >
21 typedef SuperEntityIterator< Grid, SuperEntityIteratorImp > This;
22 typedef EntityIterator< 0, Grid, SuperEntityIteratorImp< Grid > > Base;
24 typedef SuperEntityIteratorImp< Grid > Implementation;
27 typedef typename Grid::template Codim< 0 >::Entity Entity;
29 SuperEntityIterator (
const Implementation &implementation );
31 const This &operator++ ();
36 using Base::realIterator;
44 template<
class Gr
id,
template<
class >
class SuperEntityIteratorImp >
45 inline SuperEntityIterator< Grid, SuperEntityIteratorImp >
46 ::SuperEntityIterator (
const Implementation &implementation )
47 : Base( implementation )
51 template<
class Gr
id,
template<
class >
class SuperEntityIteratorImp >
52 inline const typename SuperEntityIterator< Grid, SuperEntityIteratorImp >::This &
53 SuperEntityIterator< Grid, SuperEntityIteratorImp >::operator++ ()
55 ++
static_cast< Base &
>( *this );
60 template<
class Gr
id,
template<
class >
class SuperEntityIteratorImp >
61 inline int SuperEntityIterator< Grid, SuperEntityIteratorImp >::index ()
const
63 return realIterator.index();
80 template<
class Gr
id,
int codim >
84 static const bool v =
false;
87 template<
class Gr
id,
int codim >
Grid abstract base class.
Definition: grid.hh:375
Dune namespace.
Definition: alignedallocator.hh:13
Does a grid support superentity iterators of a codimension?
Definition: superentityiterator.hh:82