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 >
19 :
public EntityIterator< 0, Grid, SuperEntityIteratorImp< Grid > >
22 typedef EntityIterator< 0, Grid, SuperEntityIteratorImp< Grid > > Base;
24 typedef SuperEntityIteratorImp< Grid > Implementation;
27 typedef typename Grid::template Codim< 0 >::Entity
Entity;
36 using Base::realIterator;
44 template<
class Gr
id,
template<
class >
class SuperEntityIteratorImp >
47 : Base( implementation )
51 template<
class Gr
id,
template<
class >
class SuperEntityIteratorImp >
55 ++
static_cast< Base &
>( *this );
60 template<
class Gr
id,
template<
class >
class SuperEntityIteratorImp >
63 return realIterator.index();
80 template<
class Gr
id,
int codim >
84 static const bool v =
false;
87 template<
class Gr
id,
int codim >
Definition: iostream.hh:7
Definition: extensions/superentityiterator.hh:20
int index() const
Definition: extensions/superentityiterator.hh:61
Grid::template Codim< 0 >::Entity Entity
Definition: extensions/superentityiterator.hh:27
SuperEntityIterator(const Implementation &implementation)
Definition: extensions/superentityiterator.hh:46
const This & operator++()
Definition: extensions/superentityiterator.hh:53
Does a grid support superentity iterators of a codimension?
Definition: extensions/superentityiterator.hh:82
static const bool v
by default, a grid does not support superentity iterators
Definition: extensions/superentityiterator.hh:84