pub struct MultigridStats {
pub level_cells: Vec<usize>,
pub level_dimensions: Vec<[usize; 3]>,
pub level_nonzeros: Vec<usize>,
pub allocated_bytes: usize,
pub block_smoothers: Vec<BlockSmootherStats>,
}Expand description
Retained hierarchy and scratch storage, excluding allocator overhead, the grid, outer PCG vectors and temporary hierarchy-construction storage.
Fields§
§level_cells: Vec<usize>Unknowns per level, finest first; their sum relative to the first entry is the grid complexity.
level_dimensions: Vec<[usize; 3]>Cell dimensions per level, finest first; shows semicoarsening.
level_nonzeros: Vec<usize>Stored matrix entries per level, including diagonals and duplicate fine entries; their sum relative to the first is the operator complexity.
allocated_bytes: usizeRetained numeric and index storage in bytes, excluding allocator overhead, the grid and the outer PCG vectors.
block_smoothers: Vec<BlockSmootherStats>The block smoothers of anisotropic levels; empty for point smoothing.
Trait Implementations§
Source§impl Clone for MultigridStats
impl Clone for MultigridStats
Source§impl Debug for MultigridStats
impl Debug for MultigridStats
Source§impl<'de> Deserialize<'de> for MultigridStats
impl<'de> Deserialize<'de> for MultigridStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MultigridStats
Source§impl PartialEq for MultigridStats
impl PartialEq for MultigridStats
Source§impl Serialize for MultigridStats
impl Serialize for MultigridStats
impl StructuralPartialEq for MultigridStats
Auto Trait Implementations§
impl Forget for MultigridStats
impl Freeze for MultigridStats
impl Move for MultigridStats
impl RefUnwindSafe for MultigridStats
impl Send for MultigridStats
impl Sync for MultigridStats
impl Unpin for MultigridStats
impl UnsafeUnpin for MultigridStats
impl UnwindSafe for MultigridStats
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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