[][src]Trait velvet_core::thermostats::Thermostat

pub trait Thermostat: Send + Sync + Serialize + Deserialize {
    pub fn setup(&mut self, _: &System) { ... }
pub fn pre_integrate(&mut self, _: &mut System) { ... }
pub fn post_integrate(&mut self, _: &mut System) { ... } }

An algorithm used to control simulation temperature.

Provided methods

pub fn setup(&mut self, _: &System)[src]

Prepare the thermostat to run.

pub fn pre_integrate(&mut self, _: &mut System)[src]

Fires before the integration step.

pub fn post_integrate(&mut self, _: &mut System)[src]

Fires after the integration step.

Loading content...

Trait Implementations

impl<'typetag> Serialize for dyn Thermostat + 'typetag[src]

impl<'typetag> Serialize for dyn Thermostat + Send + 'typetag[src]

impl<'typetag> Serialize for dyn Thermostat + Sync + 'typetag[src]

impl<'typetag> Serialize for dyn Thermostat + Send + Sync + 'typetag[src]

impl Strictest for dyn Thermostat[src]

type Object = dyn Thermostat + Send + Sync

Implementors

impl Thermostat for Berendsen[src]

impl Thermostat for NoseHoover[src]

impl Thermostat for NullThermostat[src]

Loading content...