pub enum ThermoError {
NonConvergent {
max_iter: usize,
last_t: f64,
},
}Expand description
Errors produced by the specie-level thermophysics layer.
Variants§
NonConvergent
Newton T-inversion exhausted all iterations without meeting the convergence tolerance (|ΔT/T| < 1e-6). Carries the last iterate.
Trait Implementations§
Source§impl Clone for ThermoError
impl Clone for ThermoError
Source§impl Debug for ThermoError
impl Debug for ThermoError
Source§impl Display for ThermoError
impl Display for ThermoError
Source§impl Error for ThermoError
impl Error for ThermoError
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()
Source§impl PartialEq for ThermoError
impl PartialEq for ThermoError
impl StructuralPartialEq for ThermoError
Auto Trait Implementations§
impl Freeze for ThermoError
impl RefUnwindSafe for ThermoError
impl Send for ThermoError
impl Sync for ThermoError
impl Unpin for ThermoError
impl UnsafeUnpin for ThermoError
impl UnwindSafe for ThermoError
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