pub struct Adaptive {
pub relative_tolerance: f64,
pub absolute_tolerance: f64,
pub initial_step_s: Option<f64>,
pub max_step_s: Option<f64>,
}Expand description
Settings for the adaptive Dormand–Prince 5(4) method.
Fields§
§relative_tolerance: f64The relative tolerance rtol on each component.
absolute_tolerance: f64The absolute tolerance atol, in the state’s units, scaled per component by
OdeSystem::absolute_tolerance_weights.
initial_step_s: Option<f64>The first step, in seconds, or None for Hairer’s starting-step estimate (HNW I, §II.4).
max_step_s: Option<f64>The longest step, in seconds, or None for no limit. Events that cross and return within
one step go unseen, so this also bounds the event functions’ shortest detectable excursion.
Trait Implementations§
impl Copy for Adaptive
Source§impl<'de> Deserialize<'de> for Adaptive
impl<'de> Deserialize<'de> for Adaptive
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Adaptive
Auto Trait Implementations§
impl Freeze for Adaptive
impl RefUnwindSafe for Adaptive
impl Send for Adaptive
impl Sync for Adaptive
impl Unpin for Adaptive
impl UnsafeUnpin for Adaptive
impl UnwindSafe for Adaptive
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