33 #ifndef __H__UG__LIB_DISC__QUADRATURE__GAUSS_QUAD__GAUSS_QUAD__
34 #define __H__UG__LIB_DISC__QUADRATURE__GAUSS_QUAD__GAUSS_QUAD__
37 #include "../quadrature.h"
43 template <
typename TRefElem,
int order>
47 template <
typename TImpl,
int TDim,
int TOrder,
int TNip>
52 static const size_t dim = TDim;
61 static const size_t p = TOrder;
64 static const size_t nip = TNip;
102 template <
typename TRefElem>
flexible order gauss quadrature
Definition: gauss_quad.h:105
~FlexGaussQuadrature()
Destructor.
Definition: gauss_quad.h:111
FlexGaussQuadrature(int order)
Constructor.
wrapper to ease implementation
Definition: gauss_quad.h:49
static size_t size()
number of integration points
Definition: gauss_quad.h:68
MathVector< dim > position_type
Position Type in Reference Element Space.
Definition: gauss_quad.h:55
static const MathVector< dim > * points()
returns all positions in an array of size()
Definition: gauss_quad.h:75
static const size_t nip
Number of integration points.
Definition: gauss_quad.h:64
static MathVector< dim > m_vPoint[nip]
integration points
Definition: gauss_quad.h:89
static size_t order()
returns the order
Definition: gauss_quad.h:85
static const size_t p
Order of quadrature rule.
Definition: gauss_quad.h:61
number weight_type
Type of weights.
Definition: gauss_quad.h:58
static number weight(size_t i)
return the i'th weight
Definition: gauss_quad.h:78
static number m_vWeight[nip]
weights
Definition: gauss_quad.h:92
static const size_t dim
Dimension of integration domain.
Definition: gauss_quad.h:52
static const MathVector< dim > & point(size_t i)
returns i'th integration point
Definition: gauss_quad.h:71
static const number * weights()
returns all weights in an array of size()
Definition: gauss_quad.h:82
fixed order gauss quadrature
Definition: gauss_quad.h:44
provides quadrature rule for a Reference Dimension
Definition: quadrature.h:70
size_t order() const
returns the order
Definition: quadrature.h:115
#define UG_ASSERT(expr, msg)
Definition: assert.h:70
double number
Definition: types.h:124