Skip to main content

advance

Function advance 

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

Advances a machine by one base step dt with the torques held constant, as a drive would.