16#ifndef dealii_tensor_product_polynomials_const_h
17#define dealii_tensor_product_polynomials_const_h
80 const std::vector<unsigned int> &
86 const std::vector<unsigned int> &
103 std::vector<double> &
values,
217 virtual std::unique_ptr<ScalarPolynomialsBase<dim>>
218 clone()
const override;
247 const std::vector<Pol> &pols)
250 , index_map(tensor_polys.n() + 1)
251 , index_map_inverse(tensor_polys.n() + 1)
260 return tensor_polys.n() + 1;
266inline const std::vector<unsigned int> &
274inline const std::vector<unsigned int> &
277 return index_map_inverse;
285 return "TensorProductPolynomialsConst";
301 const unsigned int i,
304 const unsigned int max_indices = tensor_polys.n();
309 return tensor_polys.template compute_derivative<order>(i, p);
320 const unsigned int i,
323 return compute_derivative<1>(i, p);
331 const unsigned int i,
334 return compute_derivative<2>(i, p);
342 const unsigned int i,
345 return compute_derivative<3>(i, p);
353 const unsigned int i,
356 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 const 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