pub enum SolveError {
Element(ElementModelError),
Partition(String),
Krylov(KrylovError),
FloatingSubdomain {
part: usize,
removed: usize,
},
SingularSubdomain(usize),
SingularInterior(usize),
SingularCoarseProblem,
}Expand description
Possible errors encountered when solving with FETI.
Variants§
Element(ElementModelError)
Downstream error from an element.
Partition(String)
The partition does not describe the model it is meant to decompose.
Krylov(KrylovError)
Downstream error from the dual PCG.
FloatingSubdomain
A subdomain left with some rigid-body modes free.
SingularSubdomain(usize)
A subdomain with some part of it still free to move.
SingularInterior(usize)
The interior of a subdomain, away from the interface, is singular.
SingularCoarseProblem
The assembled corner problem is singular.
Trait Implementations§
Source§impl Debug for SolveError
impl Debug for SolveError
Source§impl Display for SolveError
impl Display for SolveError
Source§impl Error for SolveError
impl Error for SolveError
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 From<ElementModelError> for SolveError
impl From<ElementModelError> for SolveError
Source§fn from(error: ElementModelError) -> Self
fn from(error: ElementModelError) -> Self
Converts to this type from the input type.
Source§impl From<KrylovError> for SolveError
impl From<KrylovError> for SolveError
Source§fn from(error: KrylovError) -> Self
fn from(error: KrylovError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SolveError
impl RefUnwindSafe for SolveError
impl Send for SolveError
impl Sync for SolveError
impl Unpin for SolveError
impl UnsafeUnpin for SolveError
impl UnwindSafe for SolveError
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