5#ifndef DUNE_GRID_CONCEPTS_ARCHETYPES_GEOMETRY_HH
6#define DUNE_GRID_CONCEPTS_ARCHETYPES_GEOMETRY_HH
13namespace Dune::Concept::Archetypes {
15struct ReferenceElement {};
17template <
int mydim,
int cdim = mydim>
20 static constexpr int mydimension = mydim;
21 static constexpr int coorddimension = cdim;
36 GlobalCoordinate corner (
int i)
const;
37 GlobalCoordinate global (
const LocalCoordinate& local)
const;
38 LocalCoordinate local (
const GlobalCoordinate& global)
const;
39 GlobalCoordinate center ()
const;
41 Volume integrationElement (
const LocalCoordinate& local)
const;
42 Volume volume ()
const;
44 Jacobian jacobian (
const LocalCoordinate& local)
const;
45 JacobianTransposed jacobianTransposed (
const LocalCoordinate& local)
const;
46 JacobianInverse jacobianInverse (
const LocalCoordinate& local)
const;
47 JacobianInverseTransposed jacobianInverseTransposed (
const LocalCoordinate& local)
const;
50template <
int mydim,
int cdim>
51Archetypes::ReferenceElement
referenceElement (
const Geometry<mydim,cdim>& g);
vector space out of a tensor product of fields.
Definition: fvector.hh:92
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:114
Implements a matrix constructed from a given type representing a field and compile-time given number ...
Implements a vector constructed from a given type representing a field and a compile-time given size.
unspecified value type referenceElement(T &&... t)
Returns a reference element for the objects t....
A unique label for each type of element that can occur in a grid.