1#ifndef DUNE_FEM_DEFAULTQUADRATURES_HH
2#define DUNE_FEM_DEFAULTQUADRATURES_HH
11#include <dune/fem/quadrature/idprovider.hh>
13#include "femquadratures.hh"
22 template<
typename FieldType,
int dim >
23 struct DefaultQuadratureImplementationTraits
26 typedef QuadratureImp< FieldType, dim > QuadratureImplementationType;
29 typedef QuadratureImplementationType IntegrationPointListType;
33 template<
typename FieldType,
int dim >
34 struct DefaultQuadratureTraits
35 :
public DefaultQuadratureImplementationTraits< FieldType, dim >
37 typedef CubeQuadrature< FieldType, dim > CubeQuadratureType;
40 typedef CubeQuadratureType SimplexQuadratureType;
42 typedef int QuadratureKeyType ;
48 template<
typename FieldType >
49 struct DefaultQuadratureTraits< FieldType, 0 >
50 :
public DefaultQuadratureImplementationTraits< FieldType, 0 >
52 typedef CubeQuadrature< FieldType, 0 > PointQuadratureType;
53 typedef int QuadratureKeyType ;
59 template<
typename FieldType >
60 struct DefaultQuadratureTraits< FieldType, 1 >
61 :
public DefaultQuadratureImplementationTraits< FieldType, 1 >
63 typedef CubeQuadrature< FieldType, 1 > LineQuadratureType;
64 typedef QuadratureImp< FieldType, 1 > IntegrationPointListType;
66 typedef int QuadratureKeyType ;
72 template<
typename FieldType >
73 struct DefaultQuadratureTraits< FieldType, 2 >
74 :
public DefaultQuadratureImplementationTraits< FieldType, 2 >
76 typedef CubeQuadrature< FieldType, 2 > CubeQuadratureType;
77 typedef SimplexQuadrature< FieldType, 2 > SimplexQuadratureType;
78 typedef PolyhedronQuadrature< FieldType, 2 > PolyhedronQuadratureType;
80 typedef int QuadratureKeyType ;
86 template<
typename FieldType >
87 struct DefaultQuadratureTraits< FieldType , 3 >
88 :
public DefaultQuadratureImplementationTraits< FieldType, 3 >
90 typedef CubeQuadrature< FieldType, 3 > CubeQuadratureType;
91 typedef SimplexQuadrature< FieldType, 3 > SimplexQuadratureType;
93 typedef PrismQuadrature< FieldType > PrismQuadratureType;
94 typedef PyramidQuadrature< FieldType > PyramidQuadratureType;
96 typedef PolyhedronQuadrature< FieldType, 3 > PolyhedronQuadratureType;
98 typedef int QuadratureKeyType ;
Different resources needed by all grid implementations.
A few common exception classes.
Implements a vector constructed from a given type representing a field and a compile-time given size.
Dune namespace.
Definition: alignedallocator.hh:13