DUNE-FEM (unstable)

gausslegendre.hh
1#ifndef DUNE_FEM_QUADRATURE_GEOMETRIC_GAUSSLEGENDRE_HH
2#define DUNE_FEM_QUADRATURE_GEOMETRIC_GAUSSLEGENDRE_HH
3
6
7#include "geometry.hh"
8
9namespace Dune
10{
11
12 namespace Fem
13 {
14
15 // GaussLegendreQuadrature
16 // -----------------------
17
18 template< class Field, int dim >
19 class GaussLegendreQuadrature
20 : public GeometryQuadrature< Dune::QuadratureRule< Field, dim > >
21 {
22 using BaseType = GeometryQuadrature< Dune::QuadratureRule< Field, dim > >;
23
24 public:
25 GaussLegendreQuadrature ( Dune::GeometryType type, int order )
26 : BaseType( Dune::QuadratureRules< Field, dim >::rule( type, order, Dune::QuadratureType::GaussLegendre ) )
27 {}
28 };
29
30 } // namespace Fem
31
32} // namespace Dune
33
34#endif // #ifndef DUNE_FEM_QUADRATURE_GEOMETRIC_GAUSSLEGENDRE_HH
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:114
@ GaussLegendre
Gauss-Legendre rules (default)
Definition: quadraturerules.hh:141
Dune namespace.
Definition: alignedallocator.hh:13
A unique label for each type of element that can occur in a grid.
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)