Template Class RK4Integrator
Defined in File rk4.hpp
Inheritance Relationships
Base Type
public diffeq::core::AbstractIntegrator< S >
(Template Class AbstractIntegrator)
Class Documentation
-
template<system_state S>
class RK4Integrator : public diffeq::core::AbstractIntegrator<S> Classical 4th-order Runge-Kutta integrator.
The most famous and widely used fixed-step ODE solver. Excellent balance between accuracy and computational cost.
Order: 4 Stability: Good for non-stiff problems Usage: General-purpose ODE integration
Public Types
-
using base_type = core::AbstractIntegrator<S>
Public Functions
-
inline explicit RK4Integrator(system_function sys)
-
inline virtual void step(state_type &state, time_type dt) override
-
using base_type = core::AbstractIntegrator<S>