|
Reference documentation for deal.II version 9.2.0
|
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\)
\(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\)
\(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\)
\(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Go to the documentation of this file.
16 #ifndef dealii_auto_derivative_function_h
17 #define dealii_auto_derivative_function_h
136 const double initial_time = 0.0);
170 const unsigned int component = 0)
const override;
194 const unsigned int component = 0)
const override;
211 std::vector<std::vector<
Tensor<1, dim>>> &gradients)
const override;
229 std::vector<Tensor<1, dim>>
ht;
const unsigned int n_components
static DifferenceFormula get_formula_of_order(const unsigned int ord)
virtual ~AutoDerivativeFunction() override=default
void set_formula(const DifferenceFormula formula=Euler)
std::vector< Tensor< 1, dim > > ht
virtual void vector_gradient_list(const std::vector< Point< dim >> &points, std::vector< std::vector< Tensor< 1, dim >>> &gradients) const override
virtual void vector_gradient(const Point< dim > &p, std::vector< Tensor< 1, dim >> &gradients) const override
#define DEAL_II_NAMESPACE_OPEN
void set_h(const double h)
virtual Tensor< 1, dim > gradient(const Point< dim > &p, const unsigned int component=0) const override
AutoDerivativeFunction(const double h, const unsigned int n_components=1, const double initial_time=0.0)
#define DEAL_II_NAMESPACE_CLOSE
virtual void gradient_list(const std::vector< Point< dim >> &points, std::vector< Tensor< 1, dim >> &gradients, const unsigned int component=0) const override
DifferenceFormula formula