pub struct OdeOptions {
pub relative_tolerance: f64,
pub absolute_tolerance: f64,
pub initial_step: Option<f64>,
pub max_steps: usize,
}Expand description
Tolerances and limits shared by the ODE solvers (stiff and non-stiff). Each step must keep
every component’s local error below absolute_tolerance + relative_tolerance · |yᵢ|.
Fields§
§relative_tolerance: f64Error target relative to the size of each component.
absolute_tolerance: f64Error target for components near zero.
initial_step: Option<f64>Initial step; chosen automatically when None.
max_steps: usizeThe largest number of steps (accepted and rejected).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OdeOptions
impl RefUnwindSafe for OdeOptions
impl Send for OdeOptions
impl Sync for OdeOptions
impl Unpin for OdeOptions
impl UnsafeUnpin for OdeOptions
impl UnwindSafe for OdeOptions
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