16#ifndef dealii_function_derivative_h
17#define dealii_function_derivative_h
54 const double h = 1.e-6);
70 const double h = 1.e-6);
90 value(
const Point<dim> &p,
const unsigned int component = 0)
const override;
97 std::vector<double> &
values,
98 const unsigned int component = 0)
const override;
127 std::vector<Tensor<1, dim>>
incr;
virtual std::size_t memory_consumption() const override
virtual void vector_value(const Point< dim > &p, Vector< double > &value) const override
void set_h(const double h)
virtual void value_list(const std::vector< Point< dim > > &points, std::vector< double > &values, const unsigned int component=0) const override
FunctionDerivative(const Function< dim > &f, const Point< dim > &direction, const double h=1.e-6)
AutoDerivativeFunction< dim >::DifferenceFormula formula
virtual double value(const Point< dim > &p, const unsigned int component=0) const override
const Function< dim > & f
std::vector< Tensor< 1, dim > > incr
void set_formula(typename AutoDerivativeFunction< dim >::DifferenceFormula formula=AutoDerivativeFunction< dim >::Euler)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE