19 class PolyhedralGridIterator
20 :
public PolyhedralGridEntityPointer< codim, Grid >
22 typedef PolyhedralGridIterator< codim, Grid, pitype > This;
23 typedef PolyhedralGridEntityPointer< codim, Grid > Base;
26 typedef typename Base::ExtraData ExtraData;
27 using Base :: entityImpl;
30 typedef typename Grid::Traits::template Codim<codim>::EntitySeed EntitySeed;
31 typedef typename Grid::Traits::template Codim<codim>::EntityImpl EntityImpl;
33 PolyhedralGridIterator ( ExtraData data,
const bool beginIterator )
37 entityImpl() = EntityImpl( data, EntitySeed( 0 ) );
43 int index = entityImpl().seed().index();
46 if( index >= entityImpl().data()->size( codim ) )
47 entityImpl() = EntityImpl( entityImpl().data() );
49 entityImpl() = EntityImpl( entityImpl().data(), EntitySeed( index ) );