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) {}
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
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.
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.
Quadrature(const ElementType &ref_element)
Construct a new Quadrature object.