pub struct AmgDiagnostics {
pub num_levels: usize,
pub grid_complexity: f64,
pub operator_complexity: f64,
pub setup_time_ms: f64,
pub level_dofs: Vec<usize>,
pub level_nnz: Vec<usize>,
}Expand description
Diagnostic information about AMG setup
Fields§
§num_levels: usizeNumber of levels
grid_complexity: f64Grid complexity
operator_complexity: f64Operator complexity
setup_time_ms: f64Setup time in milliseconds
level_dofs: Vec<usize>DOFs per level
level_nnz: Vec<usize>NNZ per level
Trait Implementations§
Source§impl Clone for AmgDiagnostics
impl Clone for AmgDiagnostics
Source§fn clone(&self) -> AmgDiagnostics
fn clone(&self) -> AmgDiagnostics
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 AmgDiagnostics
impl RefUnwindSafe for AmgDiagnostics
impl Send for AmgDiagnostics
impl Sync for AmgDiagnostics
impl Unpin for AmgDiagnostics
impl UnsafeUnpin for AmgDiagnostics
impl UnwindSafe for AmgDiagnostics
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