Skip to main content

advance_refined

Function advance_refined 

Source
pub fn advance_refined(
    machine: &dyn Machine,
    rk: &mut Rk4,
    state: &mut [f64],
    torque: &[f64],
    dt: f64,
    substeps: u32,
) -> u32
Expand description

advance with each sub-step cut as the machine asks from the step’s start (Machine::substeps_wanted, at most MOST_CUTS); the cuts it took.