[−]Trait lumol::sim::md::Control
Trait for controlling some parameters in a system during a simulation.
Required methods
fn control(&mut self, system: &mut System)
This will be called once at every step of the simulation, after the integration step.
Provided methods
fn setup(&mut self, &System)
Function called once at the beginning of the simulation, which allow for some setup of the control algorithm if needed.
fn finish(&mut self, &System)
Function called once at the end of the simulation.