IMP logo
Public Member Functions | Static Public Member Functions
IMP::atom::VelocityScalingOptimizerState Class Reference

Detailed Description

Maintains temperature during molecular dynamics by velocity scaling.

This OptimizerState, when used with the MolecularDynamics optimizer, implements a simple thermostat by periodically rescaling the velocities. (Note that this results in discontinuous dynamics.)

See also:
MolecularDynamics
+ Inheritance diagram for IMP::atom::VelocityScalingOptimizerState:

List of all members.

Public Member Functions

 VelocityScalingOptimizerState (const Particles &pis, Float temperature, unsigned skip_steps)
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 ()
 Called when the Optimizer accepts a new conformation.
- Public Member Functions inherited from IMP::OptimizerState
 OptimizerState (std::string name="OptimizerState %1%")
Optimizerget_optimizer () const
virtual void set_is_optimizing (bool)
- Public Member Functions inherited from IMP::base::Object
std::size_t __hash__ () const
virtual std::string get_type_name () const =0
 Return a string identifying the type of the object.
virtual IMP::base::VersionInfo get_version_info () const =0
 Get information about the module and version of the object.
void set_check_level (CheckLevel l)
void set_log_level (LogLevel l)
 Set the logging level used in this object.
void set_was_used (bool tf) const
void show (std::ostream &out=std::cout) const
const std::string & get_name () const
void set_name (std::string name)

Static Public Member Functions

static
VelocityScalingOptimizerState
get_from (IMP::base::Object *o)

Additional Inherited Members

- Protected Attributes inherited from IMP::OptimizerState
UncheckedWeakPointer< Optimizeroptimizer_

Member Function Documentation

void IMP::atom::VelocityScalingOptimizerState::rescale_velocities ( ) const

Rescale the velocities now.

void IMP::atom::VelocityScalingOptimizerState::set_particles ( const Particles pis)

Set the particles to use.

void IMP::atom::VelocityScalingOptimizerState::set_skip_steps ( unsigned  skip_steps)

Set the number of update calls to skip between rescaling.

void IMP::atom::VelocityScalingOptimizerState::set_temperature ( Float  temperature)

Set the temperature to use.

virtual void IMP::atom::VelocityScalingOptimizerState::update ( )
virtual

Called when the Optimizer accepts a new conformation.

Implements IMP::OptimizerState.


The documentation for this class was generated from the following file:

Generated on Tue May 22 2012 23:33:28 for IMP by doxygen 1.8.1