Dune Core Modules (2.3.1)
grid specific information required by GenericGeometry::Geometry More...
#include <dune/geometry/genericgeometry/geometrytraits.hh>
Detailed Description
struct Dune::GenericGeometry::GlobalGeometryTraits< Grid >
grid specific information required by GenericGeometry::Geometry
Every implementation of a DUNE Geometry is required to have the same template parameter list:
Consequently, there is no direct way to pass compile time static information to a unified implementation such as the generic geometries. The structure GeometryTraits realizes an indirect way to do this.
For every grid implementation using the generic geometries, this structure must be specialized. The following default implementation can be used (via subclassing) to provide the necessary information. It contains exactly the fields that are necessary:
This implementation specifies the information used by GenericGeometry::Geometry.
- Template Parameters
-
Grid type of the grid, this traits class applies to
The documentation for this struct was generated from the following file:
- dune/geometry/genericgeometry/geometrytraits.hh