This OptimizerState, when used with the MolecularDynamics optimizer, implements a simple thermostat by periodically rescaling the velocities. (Note that this results in discontinuous dynamics.)
Public Member Functions | |
virtual std::string | get_type_name () const |
virtual ::IMP::VersionInfo | get_version_info () const |
void | rescale_velocities () const |
Rescale the velocities now. | |
void | set_particles (const Particles &pis) |
Set the particles to use. | |
void | set_skip_steps (unsigned skip_steps) |
Set the number of update calls to skip between rescaling. | |
void | set_temperature (Float temperature) |
Set the temperature to use. | |
virtual void | update () |
VelocityScalingOptimizerState (const Particles &pis, Float temperature, unsigned skip_steps) | |
Friends | |
template<class T > | |
void | IMP::internal::unref (T *) |