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>
9 #include <dune/common/unused.hh>
14 namespace GenericGeometry
17 template<
template<
int >
class Element,
int dim >
22 typedef typename PushBackTuple<
23 typename CodimTable< Element, dim-1 >::ElementTuple,
24 Element< dim > >::type ElementTuple;
31 const Element< codim > &
32 operator[] (
const integral_constant< int, codim > codimVariable )
const
34 DUNE_UNUSED_PARAMETER(codimVariable);
35 return Dune::get<codim>(map_);
40 operator[] (
const integral_constant< int, codim > codimVariable )
42 DUNE_UNUSED_PARAMETER(codimVariable);
43 return Dune::get<codim>(map_);
48 template<
template<
int >
class Element>
52 typedef typename Dune::tuple<> ElementTuple;
59 #endif // #ifndef DUNE_GEOMETRY_GENERICGEOMETRY_CODIMTABLE_HH
Definition: affinegeometry.hh:18
const Element< codim > & operator[](const integral_constant< int, codim > codimVariable) const
Definition: codimtable.hh:32
Definition: codimtable.hh:18