15#ifndef dealii_tensor_product_polynomials_const_h
16#define dealii_tensor_product_polynomials_const_h
79 const std::vector<unsigned int> &
85 const std::vector<unsigned int> &
102 std::vector<double> &values,
216 virtual std::unique_ptr<ScalarPolynomialsBase<dim>>
217 clone()
const override;
246 const std::vector<Pol> &pols)
249 , index_map(tensor_polys.n() + 1)
250 , index_map_inverse(tensor_polys.n() + 1)
259 return tensor_polys.n() + 1;
265inline const std::vector<unsigned int> &
273inline const std::vector<unsigned int> &
276 return index_map_inverse;
284 return "TensorProductPolynomialsConst";
300 const unsigned int i,
303 const unsigned int max_indices = tensor_polys.n();
308 return tensor_polys.template compute_derivative<order>(i, p);
319 const unsigned int i,
322 return compute_derivative<1>(i, p);
330 const unsigned int i,
333 return compute_derivative<2>(i, p);
341 const unsigned int i,
344 return compute_derivative<3>(i, p);
352 const unsigned int i,
355 return compute_derivative<4>(i, p);
void output_indices(std::ostream &out) const
std::vector< unsigned int > index_map_inverse
virtual Tensor< 4, dim > compute_4th_derivative(const unsigned int i, const Point< dim > &p) const override
static constexpr unsigned int dimension
double compute_value(const unsigned int i, const Point< dim > &p) const override
Tensor< 1, dim > compute_grad(const unsigned int i, const Point< dim > &p) const override
std::string name() const override
const std::vector< unsigned int > & get_numbering() const
virtual std::unique_ptr< ScalarPolynomialsBase< dim > > clone() const override
Tensor< order, dim > compute_derivative(const unsigned int i, const Point< dim > &p) const
void set_numbering(const std::vector< unsigned int > &renumber)
virtual Tensor< 1, dim > compute_1st_derivative(const unsigned int i, const Point< dim > &p) const override
const std::vector< unsigned int > & get_numbering_inverse() const
Tensor< 2, dim > compute_grad_grad(const unsigned int i, const Point< dim > &p) const override
TensorProductPolynomials< dim > tensor_polys
TensorProductPolynomialsConst(const std::vector< Pol > &pols)
std::vector< unsigned int > index_map
void evaluate(const Point< dim > &unit_point, std::vector< double > &values, std::vector< Tensor< 1, dim > > &grads, std::vector< Tensor< 2, dim > > &grad_grads, std::vector< Tensor< 3, dim > > &third_derivatives, std::vector< Tensor< 4, dim > > &fourth_derivatives) const override
virtual Tensor< 3, dim > compute_3rd_derivative(const unsigned int i, const Point< dim > &p) const override
virtual Tensor< 2, dim > compute_2nd_derivative(const unsigned int i, const Point< dim > &p) const override
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define Assert(cond, exc)
static ::ExceptionBase & ExcInternalError()
static const unsigned int invalid_unsigned_int