Template Class RK45Integrator
Defined in File rk45.hpp
Inheritance Relationships
Base Type
public diffeq::core::AdaptiveIntegrator< S >
(Template Class AdaptiveIntegrator)
Class Documentation
-
template<system_state S>
class RK45Integrator : public diffeq::core::AdaptiveIntegrator<S> RK45 (Runge-Kutta-Fehlberg 4(5)) adaptive integrator.
Fifth-order method with embedded 4th order error estimation. Popular adaptive ODE solver used in many scientific libraries.
Order: 5 (with 4th order error estimation) Stability: Good for non-stiff problems Usage: General-purpose adaptive ODE integration
Public Types
-
using base_type = core::AdaptiveIntegrator<S>
Public Functions
-
inline explicit RK45Integrator(system_function sys, time_type rtol = static_cast<time_type>(1e-6), time_type atol = static_cast<time_type>(1e-9))
-
inline void step(state_type &state, time_type dt) override
-
inline time_type adaptive_step(state_type &state, time_type dt) override
-
using base_type = core::AdaptiveIntegrator<S>