vivyd.solvers.EulerExplicit#
- class EulerExplicit(verbose=False)[source]#
Bases:
SolverAn explicit Euler integrator for solving systems of ordinary differential equations of the form
\[\dfrac{ds}{dt} = f(t, s).\]The method is a simple first-order integrator that updates the state of the system at each time step as
\[s_{n+1} = s_n + f(t_n, s_n) \cdot (t_{n+1} - t_n).\]The integrator supports both pure Python and Taichi-accelerated implementations (as defined by the
vivyd.models.TaichiCompatibleandvivyd.models.TaichiConvertibleprotocols).- Parameters:
verbose (bool)