pub enum OdeError {
StepSizeUnderflow,
MaxStepsExceeded(usize),
}Expand description
Failure modes of an adaptive integration.
Variants§
StepSizeUnderflow
The step size shrank below machine epsilon while trying to meet the error tolerance — the system is too stiff for the chosen solver, or the tolerances are unattainable.
MaxStepsExceeded(usize)
The interval could not be spanned within max_steps sub-steps; carries
the number of steps taken.
Trait Implementations§
Source§impl Error for OdeError
impl Error for OdeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for OdeError
Auto Trait Implementations§
impl Freeze for OdeError
impl RefUnwindSafe for OdeError
impl Send for OdeError
impl Sync for OdeError
impl Unpin for OdeError
impl UnsafeUnpin for OdeError
impl UnwindSafe for OdeError
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