Tatooine
|
The default error checker to be used with Runge-Kutta error steppers. More...
#include <controller_runge_kutta_with_domain_check.h>
Public Types | |
using | value_type = Value |
using | algebra_type = Algebra |
using | operations_type = Operations |
Public Member Functions | |
default_error_checker (value_type eps_abs=static_cast< value_type >(1.0e-6), value_type eps_rel=static_cast< value_type >(1.0e-6), value_type a_x=static_cast< value_type >(1), value_type a_dxdt=static_cast< value_type >(1)) | |
template<typename State , typename Deriv , typename Err , typename Time > | |
value_type | error (const State &x_old, const Deriv &dxdt_old, Err &x_err, Time dt) const |
template<typename State , typename Deriv , typename Err , typename Time > | |
value_type | error (algebra_type &algebra, const State &x_old, const Deriv &dxdt_old, Err &x_err, Time dt) const |
Private Attributes | |
value_type | m_eps_abs |
value_type | m_eps_rel |
value_type | m_a_x |
value_type | m_a_dxdt |
The default error checker to be used with Runge-Kutta error steppers.
This class provides the default mechanism to compare the error estimates reported by Runge-Kutta error steppers with user defined error bounds. It is used by the controlled_runge_kutta_with_domain_check steppers.
Value | The value type. |
Algebra | The algebra type. |
Operations | The operations type. |
using tatooine::ode::boost::default_error_checker< Value, Algebra, Operations >::algebra_type = Algebra |
using tatooine::ode::boost::default_error_checker< Value, Algebra, Operations >::operations_type = Operations |
using tatooine::ode::boost::default_error_checker< Value, Algebra, Operations >::value_type = Value |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |