Class Scine::Utils::EulerMD¶
-
class
EulerMD
: public Scine::Utils::MDIntegrator¶ Class implementing the Euler algorithm for Molecular Dynamics.
The position is updated with \( r_i(t + \Delta t) = r_i(t) + \Delta t v_i(t) + \frac{\Delta t^2}{2m_i} f_i(t) + O(\Delta t^3) \) and the velocities with \( v_i(t + \Delta t) = v_i(t) + \frac{\Delta t}{m_i} f_i(t) + O(\Delta t^2) \)