Struct freude::RungeKutta4
[−]
[src]
pub struct RungeKutta4<T> { /* fields omitted */ }
Methods
impl<T> RungeKutta4<T> where
T: Clone,
[src]
T: Clone,
Trait Implementations
impl Stepper for RungeKutta4<f64>
[src]
type State = f64
fn do_step<Sy>(&mut self, system: &mut Sy, state: &mut Self::State) where
Sy: Ode<State = f64>,
[src]
Sy: Ode<State = f64>,
fn timestep(&self) -> f64
[src]
fn integrate_n_steps<Sy>(
&mut self,
system: &mut Sy,
state: &mut Self::State,
n: usize
) -> f64 where
Sy: Ode<State = Self::State>,
[src]
&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>,
[src]
&mut self,
system: &mut Sy,
state: &mut Self::State,
t: f64
) -> (f64, usize) where
Sy: Ode<State = Self::State>,
impl<D, P: ZipMarker> Stepper for RungeKutta4<P> where
P: Clone,
D: Dimension,
&'a P: IntoNdProducer<Dim = D, Item = &'a f64>,
&'a mut P: IntoNdProducer<Dim = D, Item = &'a mut f64>,
[src]
P: Clone,
D: Dimension,
&'a P: IntoNdProducer<Dim = D, Item = &'a f64>,
&'a mut P: IntoNdProducer<Dim = D, Item = &'a mut f64>,
type State = P
fn do_step<Sy>(&mut self, system: &mut Sy, state: &mut Self::State) where
Sy: Ode<State = P>,
[src]
Sy: Ode<State = P>,
fn timestep(&self) -> f64
[src]
fn integrate_n_steps<Sy>(
&mut self,
system: &mut Sy,
state: &mut Self::State,
n: usize
) -> f64 where
Sy: Ode<State = Self::State>,
[src]
&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>,
[src]
&mut self,
system: &mut Sy,
state: &mut Self::State,
t: f64
) -> (f64, usize) where
Sy: Ode<State = Self::State>,