dopri45_step

Function dopri45_step 

Source
fn dopri45_step(
    pos: [f64; 3],
    vel: [f64; 3],
    time: f64,
    h: f64,
    mu_val: f64,
    thrust: &ThrustProfile,
) -> ([f64; 3], [f64; 3], [f64; 3], [f64; 3])
Expand description

Perform one RK45 Dormand-Prince step. Returns (new_pos, new_vel, err_pos, err_vel). Uses 7 stages (FSAL: k7 of this step = k1 of next step).