pub struct SolverSettings {
pub tolerance: f64,
pub max_iter: usize,
}Expand description
Solver settings passed to FvMatrix::solve.
Fields§
§tolerance: f64Convergence tolerance on the normalised residual (dimensionless).
max_iter: usizeMaximum iteration/sweep count before giving up.
Trait Implementations§
Source§impl Clone for SolverSettings
impl Clone for SolverSettings
impl Copy for SolverSettings
Source§impl Debug for SolverSettings
impl Debug for SolverSettings
Auto Trait Implementations§
impl Freeze for SolverSettings
impl RefUnwindSafe for SolverSettings
impl Send for SolverSettings
impl Sync for SolverSettings
impl Unpin for SolverSettings
impl UnsafeUnpin for SolverSettings
impl UnwindSafe for SolverSettings
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