Template Class AdaptiveIntegrator
Defined in File adaptive_integrator.hpp
Inheritance Relationships
Base Type
public diffeq::core::AbstractIntegrator< S >
(Template Class AbstractIntegrator)
Derived Types
public diffeq::BDFIntegrator< S >
(Template Class BDFIntegrator)public diffeq::DOP853Integrator< S >
(Template Class DOP853Integrator)public diffeq::LSODAIntegrator< S >
(Template Class LSODAIntegrator)public diffeq::RK23Integrator< S >
(Template Class RK23Integrator)public diffeq::RK45Integrator< S >
(Template Class RK45Integrator)public diffeq::SimpleBDF1Integrator< S >
(Template Class SimpleBDF1Integrator)
Class Documentation
-
template<system_state S>
class AdaptiveIntegrator : public diffeq::core::AbstractIntegrator<S> Subclassed by diffeq::BDFIntegrator< S >, diffeq::DOP853Integrator< S >, diffeq::LSODAIntegrator< S >, diffeq::RK23Integrator< S >, diffeq::RK45Integrator< S >, diffeq::SimpleBDF1Integrator< S >
Public Types
-
using base_type = AbstractIntegrator<S>
Public Functions
-
inline explicit AdaptiveIntegrator(system_function sys, time_type rtol = static_cast<time_type>(1e-6), time_type atol = static_cast<time_type>(1e-9))
-
inline virtual void integrate(state_type &state, time_type dt, time_type end_time) override
-
virtual time_type adaptive_step(state_type &state, time_type dt) = 0
Protected Functions
-
inline time_type calculate_tolerance(value_type y_val) const
-
inline time_type error_norm(const state_type &error, const state_type &y) const
-
inline time_type error_norm_scipy_style(const state_type &error, const state_type &y_old, const state_type &y_new) const
-
using base_type = AbstractIntegrator<S>