3 #ifndef DUNE_GEOMETRY_GENERICGEOMETRY_MAPPING_HH
4 #define DUNE_GEOMETRY_GENERICGEOMETRY_MAPPING_HH
14 namespace GenericGeometry
29 template<
class CoordTraits,
class Topo,
int dimW,
class Impl >
34 typedef Impl Implementation;
53 template<
unsigned int codim,
unsigned int i >
67 template<
class CoordVector >
68 explicit Mapping (
const CoordVector &coords )
73 :
impl_( implementation )
88 const FieldType epsilon = CoordTraits::epsilon();
99 MatrixHelper::template xTRightInvA< dimension, dimWorld >( JT, z, dx );
101 }
while( dx.two_norm2() > epsilon*epsilon );
115 return MatrixHelper :: template rightInvA< dimension, dimWorld >( JT, JTInv );
122 return MatrixHelper :: template sqrtDetAAT< dimension, dimWorld >( JT );
130 template<
unsigned int codim,
unsigned int i >
133 return impl_.template trace< codim, i >();
141 #endif // #ifndef DUNE_GEOMETRY_GENERICGEOMETRY_MAPPING_HH