16 #ifndef dealii_auto_derivative_function_h 17 #define dealii_auto_derivative_function_h 20 #include <deal.II/base/exceptions.h> 21 #include <deal.II/base/function.h> 23 DEAL_II_NAMESPACE_OPEN
130 const double initial_time = 0.0);
151 void set_h (
const double h);
161 const unsigned int component = 0)
const;
183 const unsigned int component = 0)
const;
218 std::vector<Tensor<1,dim> >
ht;
227 DEAL_II_NAMESPACE_CLOSE
virtual void vector_gradient(const Point< dim > &p, std::vector< Tensor< 1, dim > > &gradients) const
const unsigned int n_components
static DifferenceFormula get_formula_of_order(const unsigned int ord)
DifferenceFormula formula
virtual void gradient_list(const std::vector< Point< dim > > &points, std::vector< Tensor< 1, dim > > &gradients, const unsigned int component=0) const
void set_formula(const DifferenceFormula formula=Euler)
void set_h(const double h)
virtual void vector_gradient_list(const std::vector< Point< dim > > &points, std::vector< std::vector< Tensor< 1, dim > > > &gradients) const
AutoDerivativeFunction(const double h, const unsigned int n_components=1, const double initial_time=0.0)
virtual Tensor< 1, dim > gradient(const Point< dim > &p, const unsigned int component=0) const
std::vector< Tensor< 1, dim > > ht
virtual ~AutoDerivativeFunction()=default