pub fn ruth3_step<F, G>( q: f64, p: f64, h: f64, force: F, kinetic_velocity: G, ) -> (f64, f64)where F: Fn(f64) -> f64, G: Fn(f64) -> f64,
One Ruth (1983) 3rd-order symplectic step. Three (kick, drift) sub-stages with the canonical Ruth coefficients.