31 const unsigned int side = (
index > regularity) ? 1 : 0;
37 static_cast<int>(regularity + 2);
39 std::vector<double>
poly_coeffs(2 * regularity + 2, 0.0);
53 for (
int k = 0;
k <
j + 1; ++
k)
83 binomial *= -
static_cast<int>(regularity + 1 - i);
101 const unsigned int index)
103 , degree(2 * regularity + 1)
104 , regularity(regularity)
105 , side_index(index % (regularity + 1))
106 , side((index >= regularity + 1) ? 1 : 0)
113 std::vector<Polynomial<double>>
116 std::vector<Polynomial<double>> polys;
120 for (
unsigned int i = 0; i <
sz; ++i)
static std::vector< Polynomial< double > > generate_complete_basis(const unsigned int regularity)
PolynomialsHermite(const unsigned int regularity, const unsigned int index)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define AssertIndexRange(index, range)
constexpr T pow(const T base, const int iexp)