pub enum AmgInterpolation {
Standard,
Extended,
Direct,
}Expand description
Interpolation operator type
Variants§
Standard
Standard interpolation - direct interpolation from coarse neighbors
Extended
Extended interpolation - includes indirect (distance-2) connections Better for some problem types but more expensive
Direct
Direct interpolation - simplest, only immediate strong connections Fastest but may have poor convergence for hard problems
Trait Implementations§
Source§impl Clone for AmgInterpolation
impl Clone for AmgInterpolation
Source§fn clone(&self) -> AmgInterpolation
fn clone(&self) -> AmgInterpolation
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 moreSource§impl Debug for AmgInterpolation
impl Debug for AmgInterpolation
Source§impl Default for AmgInterpolation
impl Default for AmgInterpolation
Source§fn default() -> AmgInterpolation
fn default() -> AmgInterpolation
Returns the “default value” for a type. Read more
Source§impl PartialEq for AmgInterpolation
impl PartialEq for AmgInterpolation
impl Copy for AmgInterpolation
impl Eq for AmgInterpolation
impl StructuralPartialEq for AmgInterpolation
Auto Trait Implementations§
impl Freeze for AmgInterpolation
impl RefUnwindSafe for AmgInterpolation
impl Send for AmgInterpolation
impl Sync for AmgInterpolation
impl Unpin for AmgInterpolation
impl UnsafeUnpin for AmgInterpolation
impl UnwindSafe for AmgInterpolation
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