[]Enum lumol::sim::TemperatureStrategy

pub enum TemperatureStrategy {
    None,
    Velocities,
    External(f64),
}

Possible temperature computation strategies. Different propagators needs different ways to compute the temperature: Monte Carlo temperature is a constant of the simulation, whereas for molecular dynamics we use the instantaneous velocities.

Variants

None

No specific strategy, use whatever strategy was already in use.

Velocities

Use the instantaneous velocities to compute the temperature

External(f64)

Use a fixed external temperature

Trait Implementations

impl Clone for TemperatureStrategy

impl Debug for TemperatureStrategy

impl PartialEq<TemperatureStrategy> for TemperatureStrategy

impl StructuralPartialEq for TemperatureStrategy

Auto Trait Implementations

impl RefUnwindSafe for TemperatureStrategy

impl Send for TemperatureStrategy

impl Sync for TemperatureStrategy

impl Unpin for TemperatureStrategy

impl UnwindSafe for TemperatureStrategy

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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>,