pub struct DistAMGLevel {
pub local_matrix: CsrMatrix<f64>,
pub partition: RowPartition,
pub interpolation: CsrMatrix<f64>,
pub restriction: CsrMatrix<f64>,
}Expand description
A single level in the distributed AMG hierarchy.
Fields§
§local_matrix: CsrMatrix<f64>The (local) fine-level matrix for this level, represented in global row/column numbering.
partition: RowPartitionPartition metadata for this level’s rows.
interpolation: CsrMatrix<f64>Local prolongation operator P (n_fine_local × n_coarse).
restriction: CsrMatrix<f64>Local restriction operator R = P^T (n_coarse × n_fine_local).
Trait Implementations§
Source§impl Clone for DistAMGLevel
impl Clone for DistAMGLevel
Source§fn clone(&self) -> DistAMGLevel
fn clone(&self) -> DistAMGLevel
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 moreAuto Trait Implementations§
impl Freeze for DistAMGLevel
impl RefUnwindSafe for DistAMGLevel
impl Send for DistAMGLevel
impl Sync for DistAMGLevel
impl Unpin for DistAMGLevel
impl UnsafeUnpin for DistAMGLevel
impl UnwindSafe for DistAMGLevel
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