one-dimensional Gauss points and their weights
More...
#include <dune/fem/quadrature/gausspoints.hh>
|
| GaussPts () |
| constructor initializing the Gauss points for all orders
|
|
double | point (int m, int i) const |
| obtain the i-th point of the m-th quadratre
|
|
double | weight (int m, int i) const |
| obtain the i-th weight of the m-th quadratre
|
|
int | order (int m) const |
| obtain the order of the m-th quadratre
|
|
int | power (int y, int d) const |
| a simple power method
|
|
one-dimensional Gauss points and their weights
GaussPtr is an array of one-dimensional Gauss quadratures for the interval [0,1]. The index of a quadreture equals its number of quadratrue points (so there is no 0-th quadrature).
- Note
- This class implements the Singleton pattern
◆ anonymous enum
number of available quadratures
◆ anonymous enum
highest quadrature order within the array
◆ GaussPts()
Dune::Fem::GaussPts::GaussPts |
( |
| ) |
|
|
inline |
constructor initializing the Gauss points for all orders
◆ order()
int Dune::Fem::GaussPts::order |
( |
int |
m | ) |
const |
|
inline |
obtain the order of the m-th quadratre
- Parameters
-
[in] | m | index of the quadrature |
- Returns
- a double representing the weight i-th Gauss point
◆ point()
double Dune::Fem::GaussPts::point |
( |
int |
m, |
|
|
int |
i |
|
) |
| const |
|
inline |
obtain the i-th point of the m-th quadratre
- Parameters
-
[in] | m | index of the quadrature |
[in] | i | number of the point within the quadrature (0 <= i < m) |
- Returns
- a double in [0,1] representing the i-th Gauss point
◆ power()
int Dune::Fem::GaussPts::power |
( |
int |
y, |
|
|
int |
d |
|
) |
| const |
|
inline |
◆ weight()
double Dune::Fem::GaussPts::weight |
( |
int |
m, |
|
|
int |
i |
|
) |
| const |
|
inline |
obtain the i-th weight of the m-th quadratre
- Parameters
-
[in] | m | index of the quadrature |
[in] | i | number of the weight within the quadrature (0 <= i < m) |
- Returns
- a double representing the weight i-th Gauss point
The documentation for this class was generated from the following files: