pub enum SteadyConductionError {
InvalidInput(String),
Mesh(String),
LinearSolveFailed {
residual: f64,
iterations: usize,
},
PicardNotConverged {
last_change_kelvin: f64,
iterations: usize,
},
BadConductivity {
zone: usize,
temperature_kelvin: f64,
value: f64,
},
}Expand description
What can go wrong setting up or solving a steady conduction problem.
Variants§
InvalidInput(String)
An input was out of range or inconsistent (the message says which).
Mesh(String)
The mesh could not be assembled.
LinearSolveFailed
The linear solve missed its tolerance.
PicardNotConverged
The outer (Picard) iteration on k(T) did not settle.
Fields
BadConductivity
The caller’s conductivity returned a non-positive or non-finite value.
Trait Implementations§
Source§impl Clone for SteadyConductionError
impl Clone for SteadyConductionError
Source§impl Debug for SteadyConductionError
impl Debug for SteadyConductionError
Source§impl Display for SteadyConductionError
impl Display for SteadyConductionError
Source§impl Error for SteadyConductionError
impl Error for SteadyConductionError
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 SteadyConductionError
impl PartialEq for SteadyConductionError
impl StructuralPartialEq for SteadyConductionError
Auto Trait Implementations§
impl Freeze for SteadyConductionError
impl RefUnwindSafe for SteadyConductionError
impl Send for SteadyConductionError
impl Sync for SteadyConductionError
impl Unpin for SteadyConductionError
impl UnsafeUnpin for SteadyConductionError
impl UnwindSafe for SteadyConductionError
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