Leapfrog4Propagator
- class ssapy.propagator.Leapfrog4Propagator(accel, h)[source][source]
Bases:
RKPropagatorFourth-order symplectic leapfrog propagator.
This propagator uses a Yoshida-style composition of second-order leapfrog steps to achieve fourth-order accuracy while preserving the symplectic structure for conservative systems.
- Parameters:
accel (ssapy.Accel) – Accel object containing the acceleration model by which to propagate.
h (float) – Fixed time step in seconds.
Notes
This method is most appropriate for conservative force models. It can still be used with non-conservative or time-dependent accelerations, but some of the desirable symplectic properties may no longer hold.