pub struct Rkf45 {
pub config: OdeSolverConfig,
/* private fields */
}Expand description
Runge-Kutta-Fehlberg 4(5) explicit solver with adaptive step size.
Maps to Foam::RKF45.
Fields§
§config: OdeSolverConfigAdaptive step-size controller settings (tolerances, scale limits).
Implementations§
Source§impl Rkf45
impl Rkf45
Sourcepub fn new(n: usize, abs_tol: f64, rel_tol: f64) -> Self
pub fn new(n: usize, abs_tol: f64, rel_tol: f64) -> Self
Create a solver for an n-equation system with the given absolute and
relative per-equation error tolerances; other controller parameters take
their OdeSolverConfig::default values.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rkf45
impl RefUnwindSafe for Rkf45
impl Send for Rkf45
impl Sync for Rkf45
impl Unpin for Rkf45
impl UnsafeUnpin for Rkf45
impl UnwindSafe for Rkf45
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more