pub fn advance_refined(
machine: &dyn Machine,
rk: &mut Rk4,
state: &mut [f64],
torque: &[f64],
dt: f64,
substeps: u32,
) -> u32Expand 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.