1 #ifndef DUNE_GRIDVIEW_HH
2 #define DUNE_GRIDVIEW_HH
4 #include <dune/geometry/type.hh>
12 template<
int,
int,
class,
class >
13 class GridDefaultImplementation;
53 template<
class ViewTraits >
65 typedef typename Traits :: Grid
Grid;
100 template< PartitionIteratorType pit >
144 return asImp().grid();
150 return asImp().indexSet();
156 return asImp().size( codim );
162 return asImp().size( type );
171 template<
class EntityType>
174 return asImp().indexSet().contains(e);
181 return asImp().template begin<cd>();
188 return asImp().template end<cd>();
192 template<
int cd , PartitionIteratorType pitype >
193 typename Codim< cd > :: template Partition< pitype > :: Iterator
196 return asImp().template begin<cd,pitype>();
200 template<
int cd, PartitionIteratorType pitype >
201 typename Codim< cd > :: template Partition< pitype > :: Iterator
204 return asImp().template end<cd,pitype>();
211 return asImp().ibegin(entity);
218 return asImp().iend(entity);
224 return asImp().comm();
230 return asImp().overlapSize(codim);
236 return asImp().ghostSize(codim);
240 template<
class DataHandleImp,
class DataType >
245 asImp().communicate(data,iftype,dir);
248 #if DUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS