DUNE-FEM (unstable)
Dune::Fem::QuadPtsBase Class Reference
one-dimensional quadrature points and their weights More...
#include <dune/fem/quadrature/gausspoints.hh>
Public Member Functions | |
double | point (int m, int i) const |
obtain the i-th point of the m-th quadrature More... | |
double | weight (int m, int i) const |
obtain the i-th weight of the m-th quadrature More... | |
int | order (int m) const |
obtain the order of the m-th quadrature More... | |
int | power (int y, int d) const |
a simple power method More... | |
Protected Member Functions | |
QuadPtsBase (const int maxp) | |
constructor initializing the points for all orders | |
Detailed Description
one-dimensional quadrature points and their weights
QuadPtsBase is an array of one-dimensional quadratures for the interval [0,1]. The index of a quadrature equals its number of quadrature points (so there is no 0-th quadrature).
- Note
- This class implements the Singleton pattern
Member Function Documentation
◆ order()
|
inline |
obtain the order of the m-th quadrature
- Parameters
-
[in] m index of the quadrature
- Returns
- a double representing the weight i-th Gauss point
◆ point()
|
inline |
obtain the i-th point of the m-th quadrature
- 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()
|
inline |
a simple power method
- Note
- This method does not use a template meta program
- Parameters
-
[in] y base \(y\) of the power [in] d exponent \(d\) of the power
- Returns
- \(y^d\)
◆ weight()
|
inline |
obtain the i-th weight of the m-th quadrature
- 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 file:
- dune/fem/quadrature/gausspoints.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)