Enum DiodeSolverMethod
pub enum DiodeSolverMethod {
Auto,
ExplicitWrightOmega,
NewtonRaphson,
}Expand description
Per-instance diode solver method selector.
Stored on each nonlinear root struct so that solver selection is local to the instance rather than process-wide. This eliminates global mutable state and the parallel-test interference that came with it.
Variants§
Auto
Pick the best solver automatically based on the circuit topology
(mirrors compiler::component::SolverMethod hints).
ExplicitWrightOmega
Force the explicit Wright Omega closed-form solver (no outer NR loop).
NewtonRaphson
Force the Newton-Raphson iterative solver.
Trait Implementations§
§impl Clone for SolverMethod
impl Clone for SolverMethod
§fn clone(&self) -> SolverMethod
fn clone(&self) -> SolverMethod
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 moreimpl Copy for SolverMethod
§impl Debug for SolverMethod
impl Debug for SolverMethod
§impl Default for SolverMethod
impl Default for SolverMethod
§fn default() -> SolverMethod
fn default() -> SolverMethod
Returns the “default value” for a type. Read more
impl Eq for SolverMethod
§impl PartialEq for SolverMethod
impl PartialEq for SolverMethod
impl StructuralPartialEq for SolverMethod
Auto Trait Implementations§
impl Freeze for SolverMethod
impl RefUnwindSafe for SolverMethod
impl Send for SolverMethod
impl Sync for SolverMethod
impl Unpin for SolverMethod
impl UnsafeUnpin for SolverMethod
impl UnwindSafe for SolverMethod
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.