3 #ifndef DUNE_GEOGRID_GRIDVIEW_HH
4 #define DUNE_GEOGRID_GRIDVIEW_HH
6 #include <dune/common/typetraits.hh>
7 #include <dune/common/exceptions.hh>
26 template<
class HGV,
class CoordFunction,
class Allocator, PartitionIteratorType pitype >
34 template<
class HGV,
class CoordFunction,
class Allocator, PartitionIteratorType pitype >
37 friend class GridView< HGV, CoordFunction, Allocator, pitype >;
39 typedef HGV HostGridView;
41 typedef typename HostGridView::Grid HostGrid;
42 typedef typename HostGridView::Intersection HostIntersection;
43 typedef typename HostGridView::IntersectionIterator HostIntersectionIterator;
72 template< PartitionIteratorType pit >
88 template<
class HGV,
class CoordFunction,
class Allocator, PartitionIteratorType pitype >
108 template<
int codim >
110 :
public Traits::template
Codim< codim >
117 hostGridView_( hostGridView )
143 template<
int codim >
150 template<
int codim, PartitionIteratorType pit >
157 template<
int codim >
164 template<
int codim, PartitionIteratorType pit >
174 return IntersectionIteratorImpl( entity,
hostGridView().
ibegin( Grid::getRealImplementation( entity ).hostEntity() ) );
180 return IntersectionIteratorImpl( entity,
hostGridView().
iend( Grid::getRealImplementation( entity ).hostEntity() ) );
198 template<
class DataHandle,
class Data >
206 WrappedDataHandle wrappedDataHandle(
grid(), dataHandle );
207 hostGridView().communicate( wrappedDataHandle, interface, direction );
222 #endif // #ifndef DUNE_GEOGRID_GRIDVIEW_HH