1 #ifndef DUNE_FEM_GAUSSPOINTS_HH 2 #define DUNE_FEM_GAUSSPOINTS_HH 59 double point (
int m,
int i )
const 61 assert(m > 0 && i < m);
74 assert(m > 0 && i < m);
98 int power (
int y,
int d )
const 101 for(
int i = 0; i < d; ++i )
112 #endif // #ifndef DUNE_FEM_GAUSSPOINTS_HH
int power(int y, int d) const
a simple power method
Definition: gausspoints.hh:98
double point(int m, int i) const
obtain the i-th point of the m-th quadratre
Definition: gausspoints.hh:59
static const GaussPts & instance()
obtain the singleton object
Definition: gausspoints.hh:46
Definition: coordinate.hh:4
one-dimensional Gauss points and their weights
Definition: gausspoints.hh:22
int order(int m) const
obtain the order of the m-th quadratre
Definition: gausspoints.hh:84
double weight(int m, int i) const
obtain the i-th weight of the m-th quadratre
Definition: gausspoints.hh:72
Definition: gausspoints.hh:26
Definition: gausspoints.hh:29