4 #ifndef DUNE_GEOMETRY_GENERICGEOMETRY_CODIMTABLE_HH
5 #define DUNE_GEOMETRY_GENERICGEOMETRY_CODIMTABLE_HH
7 #include <dune/common/typetraits.hh>
8 #include <dune/common/tupleutility.hh>
13 namespace GenericGeometry
16 template<
template<
int >
class Element,
int dim >
21 typedef typename PushBackTuple<
22 typename CodimTable< Element, dim-1 >::ElementTuple,
23 Element< dim > >::type ElementTuple;
30 const Element< codim > &
31 operator[] (
const integral_constant< int, codim > codimVariable )
const
33 return Dune::get<codim>(map_);
38 operator[] (
const integral_constant< int, codim > codimVariable )
40 return Dune::get<codim>(map_);
45 template<
template<
int >
class Element>
49 typedef typename Dune::tuple<> ElementTuple;
56 #endif // #ifndef DUNE_GEOMETRY_GENERICGEOMETRY_CODIMTABLE_HH