pub struct ExplicitOptions {
pub rtol: f64,
pub atol: f64,
pub atol_components: Vec<f64>,
pub first_step: Option<f64>,
pub max_step: f64,
pub max_steps: usize,
}Expand description
Tolerances and limits for solve_ivp_explicit. Each step keeps the local error of component
i below atolᵢ + rtol · |yᵢ| in the RMS norm, where atolᵢ comes from atol_components if it
is non-empty (one entry per component) and from atol otherwise.
Fields§
§rtol: f64§atol: f64§atol_components: Vec<f64>Per-component absolute tolerances; empty means atol for every component.
first_step: Option<f64>The first step’s size; chosen automatically when None.
max_step: f64The largest step size.
max_steps: usizeThe largest number of accepted steps.
Trait Implementations§
Source§impl Clone for ExplicitOptions
impl Clone for ExplicitOptions
Source§impl Debug for ExplicitOptions
impl Debug for ExplicitOptions
Auto Trait Implementations§
impl Freeze for ExplicitOptions
impl RefUnwindSafe for ExplicitOptions
impl Send for ExplicitOptions
impl Sync for ExplicitOptions
impl Unpin for ExplicitOptions
impl UnsafeUnpin for ExplicitOptions
impl UnwindSafe for ExplicitOptions
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