Function eom::adaptor::nstep

source ·
pub fn nstep<TEO: TimeEvolution>(teo: TEO, n: usize) -> NStep<TEO>
Expand description

Generate an iterator which iterate EoM N-step at once

use eom::*;

let teo = explicit::RK4::new(ode::Lorenz63::default(), 0.01);
let nstep = adaptor::nstep(teo, 10);