16 #ifndef dealii_function_derivative_h 17 #define dealii_function_derivative_h 19 #include <deal.II/base/config.h> 21 #include <deal.II/base/auto_derivative_function.h> 22 #include <deal.II/base/exceptions.h> 23 #include <deal.II/base/function.h> 25 DEAL_II_NAMESPACE_OPEN
55 const double h = 1.e-6);
71 const double h = 1.e-6);
91 value(
const Point<dim> &p,
const unsigned int component = 0)
const override;
98 std::vector<double> & values,
99 const unsigned int component = 0)
const override;
128 std::vector<Tensor<1, dim>>
incr;
131 DEAL_II_NAMESPACE_CLOSE
virtual double value(const Point< dim > &p, const unsigned int component=0) const override
virtual void value_list(const std::vector< Point< dim >> &points, std::vector< double > &values, const unsigned int component=0) const override
void set_formula(typename AutoDerivativeFunction< dim >::DifferenceFormula formula=AutoDerivativeFunction< dim >::Euler)
virtual void vector_value(const Point< dim > &p, Vector< double > &value) const override
std::size_t memory_consumption() const
FunctionDerivative(const Function< dim > &f, const Point< dim > &direction, const double h=1.e-6)
const Function< dim > & f
AutoDerivativeFunction< dim >::DifferenceFormula formula
std::vector< Tensor< 1, dim > > incr
void set_h(const double h)