Struct SolverTraceEntry
pub struct SolverTraceEntry {
pub iterations: u32,
pub residual: f64,
pub clamp_hit: bool,
pub step_limited: bool,
pub v_solution: Vec<f64>,
}Expand description
A single entry in the solver trace buffer, recorded per NR solve call.
Fields§
§iterations: u32Number of NR iterations for this solve.
residual: f64Final residual norm.
clamp_hit: boolWhether voltage clamping was activated.
step_limited: boolWhether step limiting (damping) was activated.
v_solution: Vec<f64>Solution voltages at convergence (one per NL port).
Trait Implementations§
§impl Clone for SolverTraceEntry
impl Clone for SolverTraceEntry
§fn clone(&self) -> SolverTraceEntry
fn clone(&self) -> SolverTraceEntry
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 moreAuto Trait Implementations§
impl Freeze for SolverTraceEntry
impl RefUnwindSafe for SolverTraceEntry
impl Send for SolverTraceEntry
impl Sync for SolverTraceEntry
impl Unpin for SolverTraceEntry
impl UnsafeUnpin for SolverTraceEntry
impl UnwindSafe for SolverTraceEntry
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