pub struct AmgLevel {
pub a: HostCsr,
pub p: HostCsr,
pub r: HostCsr,
pub diag: Vec<f64>,
}Expand description
A single level of the multigrid hierarchy.
Fields§
§a: HostCsrThe (fine) operator on this level.
p: HostCsrThe prolongation (interpolation) operator to this level from the next
coarser level: fine = P · coarse.
r: HostCsrThe restriction operator R = Pᵀ.
diag: Vec<f64>The diagonal of a, cached for weighted-Jacobi smoothing.
Auto Trait Implementations§
impl Freeze for AmgLevel
impl RefUnwindSafe for AmgLevel
impl Send for AmgLevel
impl Sync for AmgLevel
impl Unpin for AmgLevel
impl UnsafeUnpin for AmgLevel
impl UnwindSafe for AmgLevel
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