6#ifndef IPPL_GAUSSJACOBIQUADRATURE_H
7#define IPPL_GAUSSJACOBIQUADRATURE_H
26 template <
typename T,
unsigned NumNodes1D,
typename ElementType>
43 const size_t& max_newton_itersations = 10,
44 const size_t& min_newton_iterations = 1);
89 template <
typename T,
unsigned NumNodes1D,
typename ElementType>
100 const size_t& max_newton_itersations = 10,
101 const size_t& min_newton_iterations = 1)
103 ref_element, 0.0, 0.0, max_newton_itersations, min_newton_iterations) {}
114 template <
typename T,
unsigned NumNodes1D,
typename ElementType>
125 const size_t& max_newton_itersations = 10,
126 const size_t& min_newton_iterations = 1)
128 ref_element, -0.5, -0.5, max_newton_itersations, min_newton_iterations) {}
constexpr double alpha
The fine structure constant, no dimension.
Implementations for FFT constructor/destructor and transforms.
This is class represents the Gauss-Jacobi quadrature rule on a reference element.
scalar_t getChebyshevNodes(const size_t &i) const
Returns the i-th Chebyshev node, used as initial guess for the Newton iterations.
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.
const size_t min_newton_iterations_m
scalar_t getLehrFEMInitialGuess(const size_t &i, const Vector< scalar_t, NumNodes1D > &integration_nodes) const
Computes the initial guess for the Newton iterations, the way they are computed in the implementation...
const size_t max_newton_iterations_m
void computeNodesAndWeights() override
Computes the quadrature nodes and weights and stores them in the quadrature nodes and weights arrays.
This is class represents the Gauss-Legendre quadrature rule.
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.
This is class represents the Chebyshev-Gauss quadrature rule.
ChebyshevGaussQuadrature(const ElementType &ref_element, const size_t &max_newton_itersations=10, const size_t &min_newton_iterations=1)
Construct a new Chebyshev Gauss Quadrature rule object.
This is the base class for all quadrature rules.