pub enum BlockSolveError {
Diverged,
Singular,
TooLarge,
MaxIterReached,
EvalFailed,
OutOfBounds,
}Expand description
Why a block solve failed.
Variants§
Diverged
Line search shrank below min_step without reducing the
residual.
Singular
LU encountered a near-zero pivot.
TooLarge
eqs.dim() > options.max_dim.
MaxIterReached
Reached max_iter without converging.
EvalFailed
User callback returned false from eval or jacobian.
OutOfBounds
PR #60 review nit: Newton converged but the final iterate
lies outside BlockSolveOptions::bounds. The orchestrator
converts this into AuxiliaryRejectionReason::OutOfBounds
so the block isn’t applied.
Trait Implementations§
Source§impl Clone for BlockSolveError
impl Clone for BlockSolveError
Source§fn clone(&self) -> BlockSolveError
fn clone(&self) -> BlockSolveError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockSolveError
impl Debug for BlockSolveError
Source§impl PartialEq for BlockSolveError
impl PartialEq for BlockSolveError
Source§fn eq(&self, other: &BlockSolveError) -> bool
fn eq(&self, other: &BlockSolveError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BlockSolveError
impl StructuralPartialEq for BlockSolveError
Auto Trait Implementations§
impl Freeze for BlockSolveError
impl RefUnwindSafe for BlockSolveError
impl Send for BlockSolveError
impl Sync for BlockSolveError
impl Unpin for BlockSolveError
impl UnsafeUnpin for BlockSolveError
impl UnwindSafe for BlockSolveError
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