pub struct NewtonParameters<F: IntegrateFloat> {
pub max_iterations: usize,
pub abs_tolerance: F,
pub rel_tolerance: F,
pub jacobian_update_freq: usize,
pub damping_factor: F,
pub min_damping: F,
pub reuse_jacobian: bool,
pub force_jacobian_init: bool,
}Expand description
Newton solver parameters
Fields§
§max_iterations: usizeMaximum number of iterations
abs_tolerance: FAbsolute tolerance for convergence
rel_tolerance: FRelative tolerance for convergence
jacobian_update_freq: usizeJacobian update frequency (1 = every iteration)
damping_factor: FStep size damping factor (1.0 = full steps)
min_damping: FMinimum allowed step size factor
reuse_jacobian: boolReuse Jacobian from previous solve
force_jacobian_init: boolForce Jacobian update on first iteration
Trait Implementations§
Source§impl<F: Clone + IntegrateFloat> Clone for NewtonParameters<F>
impl<F: Clone + IntegrateFloat> Clone for NewtonParameters<F>
Source§fn clone(&self) -> NewtonParameters<F>
fn clone(&self) -> NewtonParameters<F>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<F: Debug + IntegrateFloat> Debug for NewtonParameters<F>
impl<F: Debug + IntegrateFloat> Debug for NewtonParameters<F>
Source§impl<F: IntegrateFloat> Default for NewtonParameters<F>
impl<F: IntegrateFloat> Default for NewtonParameters<F>
Auto Trait Implementations§
impl<F> Freeze for NewtonParameters<F>where
F: Freeze,
impl<F> RefUnwindSafe for NewtonParameters<F>where
F: RefUnwindSafe,
impl<F> Send for NewtonParameters<F>where
F: Send,
impl<F> Sync for NewtonParameters<F>where
F: Sync,
impl<F> Unpin for NewtonParameters<F>where
F: Unpin,
impl<F> UnwindSafe for NewtonParameters<F>where
F: 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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more