17 #include <deal.II/base/polynomials_integrated_legendre_sz.h> 19 DEAL_II_NAMESPACE_OPEN
22 :
Polynomials::Polynomial<double>(get_coefficients(k))
27 const std::vector<double>
50 const double a = 1.0 / k;
51 const double b = 2.0 * k - 3.0;
52 const double c = k - 3.0;
56 for (
unsigned int i = 1; i <= k - 2; i++)
58 coefficients[i] = b * coefficients_km1[i - 1] - c * coefficients_km2[i];
75 std::vector<Polynomials::Polynomial<double>>
78 std::vector<Polynomials::Polynomial<double>> v;
80 for (
unsigned int i = 0; i <=
degree; ++i)
89 DEAL_II_NAMESPACE_CLOSE
static std::vector< Polynomials::Polynomial< double > > generate_complete_basis(const unsigned int degree)
unsigned int degree() const
static const std::vector< double > get_coefficients(const unsigned int k)
IntegratedLegendreSZ(const unsigned int p)
std::vector< double > coefficients