pub enum SymplecticMethod {
StormerVerlet,
VelocityVerlet,
Yoshida4,
Yoshida6,
Yoshida8,
}Expand description
Enumeration of available symplectic methods for convenience.
Variants§
StormerVerlet
Stormer-Verlet (leapfrog), order 2
VelocityVerlet
Velocity Verlet, order 2
Yoshida4
Yoshida 4th order
Yoshida6
Yoshida 6th order
Yoshida8
Yoshida 8th order
Trait Implementations§
Source§impl Clone for SymplecticMethod
impl Clone for SymplecticMethod
Source§fn clone(&self) -> SymplecticMethod
fn clone(&self) -> SymplecticMethod
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 SymplecticMethod
impl Debug for SymplecticMethod
Source§impl PartialEq for SymplecticMethod
impl PartialEq for SymplecticMethod
impl Copy for SymplecticMethod
impl Eq for SymplecticMethod
impl StructuralPartialEq for SymplecticMethod
Auto Trait Implementations§
impl Freeze for SymplecticMethod
impl RefUnwindSafe for SymplecticMethod
impl Send for SymplecticMethod
impl Sync for SymplecticMethod
impl Unpin for SymplecticMethod
impl UnsafeUnpin for SymplecticMethod
impl UnwindSafe for SymplecticMethod
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