pub struct ArcStopCriteria<NId = NodeId> {
pub displacement: Option<DisplacementTarget<NId>>,
pub load_factor: Option<LoadFactorTarget>,
pub load_factor_zero_crossing: bool,
pub max_chord_length: Option<f64>,
pub max_steps: Option<usize>,
}Expand description
Optional stop criteria (docs/arclength.md §7). Any one that is met
ends the phase after the step that met it is accepted; later step()
calls return AnalysisError::ContinuationComplete.
Fields§
§displacement: Option<DisplacementTarget<NId>>§load_factor: Option<LoadFactorTarget>§load_factor_zero_crossing: boolStop at the first step on which lambda crosses zero.
max_chord_length: Option<f64>§max_steps: Option<usize>Trait Implementations§
Source§impl<NId: Clone> Clone for ArcStopCriteria<NId>
impl<NId: Clone> Clone for ArcStopCriteria<NId>
Source§fn clone(&self) -> ArcStopCriteria<NId>
fn clone(&self) -> ArcStopCriteria<NId>
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<NId: Debug> Debug for ArcStopCriteria<NId>
impl<NId: Debug> Debug for ArcStopCriteria<NId>
Source§impl<NId: Default> Default for ArcStopCriteria<NId>
impl<NId: Default> Default for ArcStopCriteria<NId>
Source§fn default() -> ArcStopCriteria<NId>
fn default() -> ArcStopCriteria<NId>
Returns the “default value” for a type. Read more
Source§impl<NId: PartialEq> PartialEq for ArcStopCriteria<NId>
impl<NId: PartialEq> PartialEq for ArcStopCriteria<NId>
impl<NId: PartialEq> StructuralPartialEq for ArcStopCriteria<NId>
Auto Trait Implementations§
impl<NId> Freeze for ArcStopCriteria<NId>where
NId: Freeze,
impl<NId> RefUnwindSafe for ArcStopCriteria<NId>where
NId: RefUnwindSafe,
impl<NId> Send for ArcStopCriteria<NId>where
NId: Send,
impl<NId> Sync for ArcStopCriteria<NId>where
NId: Sync,
impl<NId> Unpin for ArcStopCriteria<NId>where
NId: Unpin,
impl<NId> UnsafeUnpin for ArcStopCriteria<NId>where
NId: UnsafeUnpin,
impl<NId> UnwindSafe for ArcStopCriteria<NId>where
NId: UnwindSafe,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§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 more§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).§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.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.