pub enum InterpolationMethod {
Linear,
Quadratic,
EnergyWeighted,
}Expand description
Interpolation methods available for LST calculations.
This enum defines the different interpolation strategies that can be used to generate intermediate geometries between molecular structures.
§Variants
Linear: Simple linear interpolation between two geometriesQuadratic: Quadratic interpolation using three geometriesEnergyWeighted: Energy-informed interpolation (future feature)
§Examples
use omecp::lst::InterpolationMethod;
let method = InterpolationMethod::Linear;
assert_eq!(method, InterpolationMethod::Linear);Variants§
Linear
Linear Synchronous Transit (LST) interpolation.
Performs simple linear interpolation between two endpoint geometries. This is the most commonly used method and provides a straight-line path in Cartesian coordinate space after optimal alignment.
Quadratic
Quadratic Synchronous Transit (QST) interpolation.
Uses quadratic interpolation with three geometries: two endpoints and one intermediate structure. If only two geometries are provided, a midpoint geometry is automatically generated.
EnergyWeighted
Energy-weighted interpolation method.
Note: This is a placeholder for future implementation. Currently falls back to linear interpolation. Will incorporate energy information to create more physically meaningful interpolation paths.
Trait Implementations§
Source§impl Clone for InterpolationMethod
impl Clone for InterpolationMethod
Source§fn clone(&self) -> InterpolationMethod
fn clone(&self) -> InterpolationMethod
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for InterpolationMethod
impl Debug for InterpolationMethod
Source§impl PartialEq for InterpolationMethod
impl PartialEq for InterpolationMethod
impl Copy for InterpolationMethod
impl StructuralPartialEq for InterpolationMethod
Auto Trait Implementations§
impl Freeze for InterpolationMethod
impl RefUnwindSafe for InterpolationMethod
impl Send for InterpolationMethod
impl Sync for InterpolationMethod
impl Unpin for InterpolationMethod
impl UnsafeUnpin for InterpolationMethod
impl UnwindSafe for InterpolationMethod
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.