pub struct MethodSwitchInfo<F: IntegrateFloat> {
pub nonstiff_to_stiff_switches: usize,
pub stiff_to_nonstiff_switches: usize,
pub stiffness_scores: Vec<F>,
pub switch_steps: Vec<usize>,
pub switch_reasons: Vec<String>,
}Expand description
Provides information about method switching for diagnostic purposes
Fields§
§nonstiff_to_stiff_switches: usizeNumber of switches from non-stiff to stiff method
stiff_to_nonstiff_switches: usizeNumber of switches from stiff to non-stiff method
stiffness_scores: Vec<F>Stiffness score at each switch point (-1.0 to 1.0)
switch_steps: Vec<usize>Step at which each switch occurred
switch_reasons: Vec<String>Reason for each switch
Implementations§
Source§impl<F: IntegrateFloat> MethodSwitchInfo<F>
impl<F: IntegrateFloat> MethodSwitchInfo<F>
Trait Implementations§
Source§impl<F: Clone + IntegrateFloat> Clone for MethodSwitchInfo<F>
impl<F: Clone + IntegrateFloat> Clone for MethodSwitchInfo<F>
Source§fn clone(&self) -> MethodSwitchInfo<F>
fn clone(&self) -> MethodSwitchInfo<F>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<F: Debug + IntegrateFloat> Debug for MethodSwitchInfo<F>
impl<F: Debug + IntegrateFloat> Debug for MethodSwitchInfo<F>
Source§impl<F: IntegrateFloat> Default for MethodSwitchInfo<F>
impl<F: IntegrateFloat> Default for MethodSwitchInfo<F>
Auto Trait Implementations§
impl<F> Freeze for MethodSwitchInfo<F>
impl<F> RefUnwindSafe for MethodSwitchInfo<F>where
F: RefUnwindSafe,
impl<F> Send for MethodSwitchInfo<F>where
F: Send,
impl<F> Sync for MethodSwitchInfo<F>where
F: Sync,
impl<F> Unpin for MethodSwitchInfo<F>where
F: Unpin,
impl<F> UnwindSafe for MethodSwitchInfo<F>where
F: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more