[−]Trait lumol::sim::md::Thermostat
Trait for thermostat algorithms some parameters in a system during a simulation.
Required methods
fn apply(&mut self, system: &mut System)
Main thermostating function. THis should update the system velocities in some way to produce constant temperature
Provided methods
fn setup(&mut self, &System)
Function called once at the beginning of the simulation, which allow for some setup of the thermostat algorithm if needed.
fn finish(&mut self, &System)
Function called once at the end of the simulation.