pub struct GmresConfig {
pub max_iter: u32,
pub tol: f64,
pub restart: u32,
}Expand description
Configuration for the 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 GmresConfig
impl Clone for GmresConfig
Source§fn clone(&self) -> GmresConfig
fn clone(&self) -> GmresConfig
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 GmresConfig
impl Debug for GmresConfig
Auto Trait Implementations§
impl Freeze for GmresConfig
impl RefUnwindSafe for GmresConfig
impl Send for GmresConfig
impl Sync for GmresConfig
impl Unpin for GmresConfig
impl UnsafeUnpin for GmresConfig
impl UnwindSafe for GmresConfig
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