![]() |
Reference documentation for deal.II version 9.5.1
|
Functions | |
template<int dim> | |
void | taylor_estimate_function_bounds (const Function< dim > &function, const BoundingBox< dim > &box, std::pair< double, double > &value_bounds, std::array< std::pair< double, double >, dim > &gradient_bounds, const unsigned int component=0) |
void FunctionTools::taylor_estimate_function_bounds | ( | const Function< dim > & | function, |
const BoundingBox< dim > & | box, | ||
std::pair< double, double > & | value_bounds, | ||
std::array< std::pair< double, double >, dim > & | gradient_bounds, | ||
const unsigned int | component = 0 ) |
Estimate bounds on the value and bounds on each gradient component of a Function,
Each lower and upper bound is returned as a std::pair<double, double>
, such that the first entry is the lower bound,
The function value, gradient, and Hessian are computed at the box center. The bounds on the value of the function are then estimated as
Here,
If the function has more than 1 component the component
parameter can be used to specify which function component the bounds should be computed for.
Definition at line 26 of file function_tools.cc.