#[non_exhaustive]pub enum BinaryExtrapolation {
RawBarycentric,
Muggianu,
Kohler,
}Expand description
Geometric extension of a directed binary interaction into a ternary interior.
Every policy retains the raw multicomponent prefactor xi*xj; only the
directed interval parameter changes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RawBarycentric
Experimental, non-recommended direct extension t=xj.
This is neither linear interpolation nor conventional Muggianu. Its
ternary-interior value depends on the canonical edge direction; use
Self::Muggianu or Self::Kohler for stable applications.
Muggianu
Assign half the remaining component to each member: t=xj+xk/2.
Kohler
Normalize within the binary pair: t=xj/(xi+xj).
Trait Implementations§
Source§impl Clone for BinaryExtrapolation
impl Clone for BinaryExtrapolation
Source§fn clone(&self) -> BinaryExtrapolation
fn clone(&self) -> BinaryExtrapolation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BinaryExtrapolation
Source§impl Debug for BinaryExtrapolation
impl Debug for BinaryExtrapolation
Source§impl Default for BinaryExtrapolation
impl Default for BinaryExtrapolation
Source§fn default() -> BinaryExtrapolation
fn default() -> BinaryExtrapolation
Returns the “default value” for a type. Read more
impl Eq for BinaryExtrapolation
Source§impl PartialEq for BinaryExtrapolation
impl PartialEq for BinaryExtrapolation
impl StructuralPartialEq for BinaryExtrapolation
Auto Trait Implementations§
impl Freeze for BinaryExtrapolation
impl RefUnwindSafe for BinaryExtrapolation
impl Send for BinaryExtrapolation
impl Sync for BinaryExtrapolation
impl Unpin for BinaryExtrapolation
impl UnsafeUnpin for BinaryExtrapolation
impl UnwindSafe for BinaryExtrapolation
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