Trait freude::Stepper [] [src]

pub trait Stepper {
    type State: Clone;
    fn do_step<Sy>(&mut self, _: &mut Sy, _: &mut Self::State)
    where
        Sy: Ode<State = Self::State>
;
fn timestep(&self) -> f64; fn integrate_n_steps<Sy>(
        &mut self,
        system: &mut Sy,
        state: &mut Self::State,
        n: usize
    ) -> f64
    where
        Sy: Ode<State = Self::State>
, { ... }
fn integrate_time<Sy>(
        &mut self,
        system: &mut Sy,
        state: &mut Self::State,
        t: f64
    ) -> (f64, usize)
    where
        Sy: Ode<State = Self::State>
, { ... } }

A trait defining the interface of an integration method.

Associated Types

Required Methods

Provided Methods

Implementors