pub struct StabilityAnalysis {
pub marginal_tol: f64,
}Expand description
Stability analysis along a continuation branch.
Evaluates the Jacobian eigenvalue structure at each ContinuationState
in a sequence and assigns a stability label.
Fields§
§marginal_tol: f64Tolerance for detecting marginal (near-zero real part) eigenvalues.
Implementations§
Source§impl StabilityAnalysis
impl StabilityAnalysis
Sourcepub fn label(
&self,
state: &ContinuationState,
jac: &dyn Fn(&[f64], f64) -> Vec<Vec<f64>>,
) -> StabilityLabel
pub fn label( &self, state: &ContinuationState, jac: &dyn Fn(&[f64], f64) -> Vec<Vec<f64>>, ) -> StabilityLabel
Assign a stability label to a single state.
Uses the exact 2×2 formula and Gershgorin for larger systems.
Sourcepub fn label_branch(
&self,
states: &[ContinuationState],
jac: &dyn Fn(&[f64], f64) -> Vec<Vec<f64>>,
) -> Vec<StabilityLabel>
pub fn label_branch( &self, states: &[ContinuationState], jac: &dyn Fn(&[f64], f64) -> Vec<Vec<f64>>, ) -> Vec<StabilityLabel>
Label a sequence of states along a branch.
Auto Trait Implementations§
impl Freeze for StabilityAnalysis
impl RefUnwindSafe for StabilityAnalysis
impl Send for StabilityAnalysis
impl Sync for StabilityAnalysis
impl Unpin for StabilityAnalysis
impl UnsafeUnpin for StabilityAnalysis
impl UnwindSafe for StabilityAnalysis
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
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.