33 #ifndef __H__UG__LIB_DISC__QUADRATURE__
34 #define __H__UG__LIB_DISC__QUADRATURE__
73 static const int dim = TDim;
provides quadrature rule for a Reference Dimension
Definition: quadrature.h:70
number weight_type
Type of weights.
Definition: quadrature.h:79
size_t m_numPoints
number of points
Definition: quadrature.h:120
number weight(size_t i) const
return the i'th weight
Definition: quadrature.h:105
static const int dim
Dimension of Reference Element.
Definition: quadrature.h:73
const number * m_pvWeight
Weights.
Definition: quadrature.h:119
size_t order() const
returns the order
Definition: quadrature.h:115
const number * weights() const
returns all weights in an array of size()
Definition: quadrature.h:112
const MathVector< dim > * points() const
returns all positions in an array of size()
Definition: quadrature.h:102
size_t size() const
number of integration points
Definition: quadrature.h:92
QuadratureRule()
constructor
Definition: quadrature.h:83
const MathVector< dim > * m_pvPoint
Integration points.
Definition: quadrature.h:118
virtual ~QuadratureRule()
destructor
Definition: quadrature.h:89
const MathVector< dim > & point(size_t i) const
returns i'th integration point
Definition: quadrature.h:95
int m_order
Order of rule.
Definition: quadrature.h:121
MathVector< dim > position_type
Position Type in Reference Element Space.
Definition: quadrature.h:76
#define UG_ASSERT(expr, msg)
Definition: assert.h:70
double number
Definition: types.h:124