Template Class EulerIntegrator
Defined in File euler.hpp
Inheritance Relationships
Base Type
public diffeq::core::AbstractIntegrator< S >
(Template Class AbstractIntegrator)
Class Documentation
-
template<system_state S>
class EulerIntegrator : public diffeq::core::AbstractIntegrator<S> Forward Euler integrator.
First-order explicit method. Simple but often unstable.
Order: 1 Stability: Poor for stiff problems Usage: Educational purposes, simple problems
Public Types
-
using base_type = core::AbstractIntegrator<S>
Public Functions
-
inline explicit EulerIntegrator(system_function sys)
-
inline virtual void step(state_type &state, time_type dt) override
-
using base_type = core::AbstractIntegrator<S>