16 #ifndef dealii__function_derivative_h 17 #define dealii__function_derivative_h 19 #include <deal.II/base/config.h> 20 #include <deal.II/base/exceptions.h> 21 #include <deal.II/base/function.h> 22 #include <deal.II/base/auto_derivative_function.h> 24 DEAL_II_NAMESPACE_OPEN
54 const double h = 1.e-6);
70 const double h = 1.e-6);
85 void set_h (
const double h);
88 const unsigned int component = 0)
const;
94 std::vector<double> &values,
95 const unsigned int component = 0)
const;
123 std::vector<Tensor<1,dim> >
incr;
126 DEAL_II_NAMESPACE_CLOSE
virtual double value(const Point< dim > &p, const unsigned int component=0) const
virtual void value_list(const std::vector< Point< dim > > &points, std::vector< double > &values, const unsigned int component=0) const
void set_formula(typename AutoDerivativeFunction< dim >::DifferenceFormula formula=AutoDerivativeFunction< dim >::Euler)
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
virtual void vector_value(const Point< dim > &p, Vector< double > &value) const
std::vector< Tensor< 1, dim > > incr
void set_h(const double h)