This is class represents the Gauss-Legendre quadrature rule. It is a special case of the Gauss-Jacobi quadrature rule with alpha = beta = 0.0.
More...
|
| | GaussLegendreQuadrature (const ElementType &ref_element, const size_t &max_newton_itersations=10, const size_t &min_newton_iterations=1) |
| | Construct a new Gauss Legendre Quadrature rule object.
|
| |
| | GaussJacobiQuadrature (const ElementType &ref_element, const T &alpha, const T &beta, const size_t &max_newton_itersations=10, const size_t &min_newton_iterations=1) |
| | Construct a new Gauss Jacobi Quadrature rule object.
|
| |
| void | computeNodesAndWeights () override |
| |
| scalar_t | getChebyshevNodes (const size_t &i) const |
| | Returns the i-th Chebyshev node, used as initial guess for the Newton iterations.
|
| |
| | Quadrature (const ElementType &ref_element) |
| | Construct a new Quadrature object.
|
| |
| size_t | getOrder () const |
| | Returns the order of the quadrature rule. (order = degree + 1)
|
| |
| size_t | getDegree () const |
| | Returns the degree of exactness of the quadrature rule.
|
| |
| Vector< T, numElementNodes > | getWeightsForRefElement () const |
| | Get the quadrature weights for the reference element.
|
| |
| Vector< Vector< T, dim >, numElementNodes > | getIntegrationNodesForRefElement () const |
| | Get the integration (quadrature) nodes for the reference element.
|
| |
| Vector< T, NumNodes1D > | getIntegrationNodes1D (const T &a, const T &b) const |
| | Get the quadrature nodes for one dimension. (With respect to the given domain [a, b])
|
| |
| Vector< T, NumNodes1D > | getWeights1D (const T &a, const T &b) const |
| | Get the quadrature weights for one dimension. (With respect to the given domain [a, b])
|
| |
template<typename T, unsigned NumNodes1D, typename ElementType>
class ippl::GaussLegendreQuadrature< T, NumNodes1D, ElementType >
This is class represents the Gauss-Legendre quadrature rule. It is a special case of the Gauss-Jacobi quadrature rule with alpha = beta = 0.0.
- Template Parameters
-
| T | floating point number type of the quadrature nodes and weights |
| NumNodes1D | number of quadrature nodes for one dimension |
| ElementType | element type for which the quadrature rule is defined |