pub struct MultigridWork {Show 14 fields
pub hierarchy_builds: u64,
pub hierarchy_levels: u64,
pub hierarchy_cells: u64,
pub hierarchy_nonzeros: u64,
pub hierarchy_bytes: u64,
pub cycles: u64,
pub smoothing_cell_updates: u64,
pub residual_cell_updates: u64,
pub restriction_cell_updates: u64,
pub prolongation_cell_updates: u64,
pub coarse_solves: u64,
pub block_smoothing_cell_updates: u64,
pub block_solves: u64,
pub block_level_cell_visits: u64,
}Expand description
Attempted work, accumulated locally without timers or locks inside PCG. Hierarchy dimensions/storage are maxima, not sums over repeated solves.
Fields§
§hierarchy_builds: u64Hierarchy constructions (0 when a cached hierarchy was reused).
hierarchy_levels: u64Number of levels (maximum over the merged solves).
hierarchy_cells: u64Unknowns over all levels (maximum over the merged solves).
hierarchy_nonzeros: u64Stored matrix entries over all levels (maximum over the merged solves).
hierarchy_bytes: u64Retained hierarchy storage in bytes (maximum over the merged solves).
cycles: u64V-cycles applied, one per preconditioner application.
smoothing_cell_updates: u64Cell updates of all smoothing sweeps, point and block.
residual_cell_updates: u64Cell updates of residual evaluations, one per cell and nonterminal level visit.
restriction_cell_updates: u64Cell updates of restrictions; equal to the residual updates.
prolongation_cell_updates: u64Cell updates of prolongations; equal to the residual updates.
coarse_solves: u64Dense direct solves on the coarsest level, one per cycle.
block_smoothing_cell_updates: u64Cell updates of block sweeps; omitted when zero. Twice the block level visits.
block_solves: u64Exact line or plane block solves; omitted when zero.
block_level_cell_visits: u64Cells of the block-smoothed levels per visit; omitted when zero. Then smoothing = 4 x residual - 2 x block visits.
Trait Implementations§
Source§impl Clone for MultigridWork
impl Clone for MultigridWork
Source§impl Debug for MultigridWork
impl Debug for MultigridWork
Source§impl Default for MultigridWork
impl Default for MultigridWork
Source§impl<'de> Deserialize<'de> for MultigridWork
impl<'de> Deserialize<'de> for MultigridWork
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>,
Source§impl JsonSchema for MultigridWork
impl JsonSchema for MultigridWork
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl Forget for MultigridWork
impl Freeze for MultigridWork
impl Move for MultigridWork
impl RefUnwindSafe for MultigridWork
impl Send for MultigridWork
impl Sync for MultigridWork
impl Unpin for MultigridWork
impl UnsafeUnpin for MultigridWork
impl UnwindSafe for MultigridWork
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
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> ⓘ
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> ⓘ
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