Skip to main content

strinit

Function strinit 

Source
pub fn strinit(q: f64) -> (Vec3, Vec3)
Expand description

strinit sets a particle just inside the L1 point with the correct velocity as given in Lubow and Shu.

\param q mass ratio = M2/M1 \param r start position returned \param v start velocity returned