DUNE-FEM (unstable)
quadrature on the codim-0 reference element More...
#include <dune/fem/quadrature/elementquadrature.hh>
Detailed Description
class Dune::Fem::ElementQuadrature< GridPartImp, codim, QuadratureTraits >
quadrature on the codim-0 reference element
DUNE quadratures are defined per geometry type, using local coordinates for the quadrature points. To evaluate a base function in some quadrature point, the quadrature must return points within the codim-0 reference element.
Now, assume you want to integrate over the face of a tetrahedron. This means you need a quadrature for a triangle, but the quadrature points should be specified with respect to the tetrahedron, since we want to evaluate our function in these points. This is where the ElementQuadrature comes into play.
The ElementQuadrature takes a subentity and transforms the quadrature corresponding to the geometry to the codim-0 reference element.
To achieve this goal, an element quadrature depends stronger on the context in which it is used. For example, for each face within a tetrahedron (though they are all the same) we need a different ElementQuadrature, since the coordinates of the quadrature points with respect to the codim-0 entity differ for each face.
- Note
- Actually, codim-1 element quadratures depend on the intersection.
- QuadratureTraits specifies the quadrature points used to build the quadrature.
- This quadrature does not support caching of base functions in quadrature points (see also CachingQuadrature).
For the actual implementations, see
- ElementQuadrature<GridPartImp,0>
- ElementQuadrature<GridPartImp,1>
The documentation for this class was generated from the following file:
- dune/fem/quadrature/elementquadrature.hh