void LangevinThermostatOptimizerState::do_update(unsigned int) {
  rescale_velocities();
}
void BerendsenThermostatOptimizerState::update()
{
    rescale_velocities();
}