3#ifndef DUNE_GEOMETRY_GENERICGEOMETRY_GEOMETRYTRAITS_HH
4#define DUNE_GEOMETRY_GENERICGEOMETRY_GEOMETRYTRAITS_HH
7#include "matrixhelper.hh"
8#include "cornermapping.hh"
12 namespace GenericGeometry
19 struct DuneCoordTraits
29 template<
int rows,
int cols >
32 typedef FieldMatrix< ctype, rows, cols > type;
37 static const ctype epsilon ()
51 template<
class CT,
unsigned int dim,
unsigned int dimW >
54 typedef CT CoordTraits;
56 static const unsigned int dimension = dim;
57 static const unsigned int dimWorld = dimW;
59 typedef typename CoordTraits :: ctype FieldType;
60 typedef typename CoordTraits :: template Vector< dimension > :: type LocalCoordinate;
61 typedef typename CoordTraits :: template Vector< dimWorld > :: type GlobalCoordinate;
66 JacobianTransposedType;
68 typedef GenericGeometry :: MatrixHelper< CoordTraits > MatrixHelper;
112 template<
class ctype,
int dimG,
int dimW,
bool alwaysAffine = false >
142 static const bool v =
false;
143 static const unsigned int topologyId = ~0u;
157 template<
class Topology >
160 typedef CoordStorage< CoordTraits, Topology, dimWorld > CornerStorage;
177 static const EvaluationType evaluateJacobianTransposed = ComputeOnDemand;
178 static const EvaluationType evaluateJacobianInverseTransposed = ComputeOnDemand;
179 static const EvaluationType evaluateIntegrationElement = ComputeOnDemand;
243 template<
class Gr
id >
246 template<
class Gr
id >
304 template<
class Gr
id >
307 template<
class Gr
id >
implementation of GenericGeometry::Mapping for first order lagrange type reference mappings.
Definition: cornermapping.hh:528
Grid abstract base class.
Definition: grid.hh:386
A generic dynamic dense matrix.
Definition: matrix.hh:25
Dune namespace.
Definition: alignment.hh:14
specifies how constant values are to be cached
Definition: geometrytraits.hh:176
specifies the reference mapping to be used
Definition: geometrytraits.hh:159
type of additional user data to be stored in each mapping
Definition: geometrytraits.hh:187
will there be only one geometry type for a dimension?
Definition: geometrytraits.hh:141
default settings for BasicGeometry
Definition: geometrytraits.hh:114
DuneCoordTraits< ctype > CoordTraits
types needed in matrix-vector operations
Definition: geometrytraits.hh:116
static const int dimWorld
dimension of the world
Definition: geometrytraits.hh:119
grid specific information required by GenericGeometry::Geometry
Definition: geometrytraits.hh:244
grid specific information required by GenericGeometry::LocalGeometry
Definition: geometrytraits.hh:305
Default mapping traits using Dune::FieldVector and Dune::FieldMatrix.
Definition: geometrytraits.hh:53