pub struct PgmresConfig {
pub max_iter: u32,
pub tol: f64,
pub restart: u32,
}Expand description
Configuration for the Preconditioned GMRES(m) solver.
Fields§
§max_iter: u32Maximum total number of iterations (across all restarts).
tol: f64Convergence tolerance (relative to ||b||).
restart: u32Restart parameter: number of Arnoldi steps before restarting.
Trait Implementations§
Source§impl Clone for PgmresConfig
impl Clone for PgmresConfig
Source§fn clone(&self) -> PgmresConfig
fn clone(&self) -> PgmresConfig
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 Debug for PgmresConfig
impl Debug for PgmresConfig
Auto Trait Implementations§
impl Freeze for PgmresConfig
impl RefUnwindSafe for PgmresConfig
impl Send for PgmresConfig
impl Sync for PgmresConfig
impl Unpin for PgmresConfig
impl UnsafeUnpin for PgmresConfig
impl UnwindSafe for PgmresConfig
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