Template Class ImprovedEulerIntegrator
Defined in File improved_euler.hpp
Inheritance Relationships
Base Type
public diffeq::core::AbstractIntegrator< S >
(Template Class AbstractIntegrator)
Class Documentation
-
template<system_state S>
class ImprovedEulerIntegrator : public diffeq::core::AbstractIntegrator<S> Improved Euler (Heun’s method) integrator.
Second-order explicit method. Better than basic Euler.
Order: 2 Stability: Better than Euler, but still poor for stiff problems Usage: Simple problems where RK4 is overkill
Public Types
-
using base_type = core::AbstractIntegrator<S>
Public Functions
-
inline explicit ImprovedEulerIntegrator(system_function sys)
-
inline virtual void step(state_type &state, time_type dt) override
-
using base_type = core::AbstractIntegrator<S>