15#ifndef dealii_auto_derivative_function_h
16#define dealii_auto_derivative_function_h
134 const double initial_time = 0.0);
168 const unsigned int component = 0)
const override;
192 const unsigned int component = 0)
const override;
209 std::vector<std::vector<
Tensor<1, dim>>> &gradients)
const override;
227 std::vector<Tensor<1, dim>>
ht;
AutoDerivativeFunction(const double h, const unsigned int n_components=1, const double initial_time=0.0)
virtual ~AutoDerivativeFunction() override=default
virtual Tensor< 1, dim > gradient(const Point< dim > &p, const unsigned int component=0) const override
virtual void vector_gradient(const Point< dim > &p, std::vector< Tensor< 1, dim > > &gradients) const override
void set_h(const double h)
DifferenceFormula formula
virtual void vector_gradient_list(const std::vector< Point< dim > > &points, std::vector< std::vector< Tensor< 1, dim > > > &gradients) const override
std::vector< Tensor< 1, dim > > ht
void set_formula(const DifferenceFormula formula=Euler)
virtual void gradient_list(const std::vector< Point< dim > > &points, std::vector< Tensor< 1, dim > > &gradients, const unsigned int component=0) const override
static DifferenceFormula get_formula_of_order(const unsigned int ord)
const unsigned int n_components
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE