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]
Auto Trait Implementations
impl<P> RefUnwindSafe for RKF45Solver<P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
impl<P> Send for RKF45Solver<P> where
P: Send,
P: Send,
impl<P> Sync for RKF45Solver<P> where
P: Sync,
P: Sync,
impl<P> Unpin for RKF45Solver<P> where
P: Unpin,
P: Unpin,
impl<P> UnwindSafe for RKF45Solver<P> where
P: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,