[]Struct lumol::sim::md::LeapFrog

pub struct LeapFrog { /* fields omitted */ }

Leap-frog integrator.

This integrator is time-reversible and symplectic (volume preserving).


impl LeapFrog

pub fn new(timestep: f64) -> LeapFrog

Create a new integrator with a timestep of timestep.

Trait Implementations

impl FromTomlWithData for LeapFrog

type Data = f64

The type of the additional data needed.

impl Integrator for LeapFrog

Auto Trait Implementations

impl RefUnwindSafe for LeapFrog

impl Send for LeapFrog

impl Sync for LeapFrog

impl Unpin for LeapFrog

impl UnwindSafe for LeapFrog

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,