Struct sir_ddft::ode::RKF45Solver[][src]

pub struct RKF45Solver<P: ODEIVP<Self>> { /* fields omitted */ }

Classic Runge-Kutta-Fehlberg integrator with order 4,(5)

Implementations

impl<P: ODEIVP<Self>> RKF45Solver<P>[src]

pub fn new() -> RKF45Solver<P>[src]

Create a new RKF45 solver

pub fn eps_0(&mut self, eps_0: f64) -> &mut RKF45Solver<P>[src]

Set error threshold for step size adaption (default: 10^-5)

pub fn beta(&mut self, beta: f64) -> &mut RKF45Solver<P>[src]

Set safety factor for error threshold comparison (default: 0.85)

pub fn dt(&mut self, dt: f64) -> &mut RKF45Solver<P>[src]

Initial stepsize (default: 0.1)

Trait Implementations

impl<P: ODEIVP<Self>> ExplicitODESolver for RKF45Solver<P>[src]

type Problem = P

IVP to solve

Auto Trait Implementations

impl<P> RefUnwindSafe for RKF45Solver<P> where
    P: RefUnwindSafe

impl<P> Send for RKF45Solver<P> where
    P: Send

impl<P> Sync for RKF45Solver<P> where
    P: Sync

impl<P> Unpin for RKF45Solver<P> where
    P: Unpin

impl<P> UnwindSafe for RKF45Solver<P> where
    P: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.