IMP  2.4.0
The Integrative Modeling Platform
Public Member Functions | Static Public Member Functions | List of all members
IMP::atom::LinearVelocity Class Reference

A particle with linear (XYZ) velocity. More...

#include <IMP/atom/MolecularDynamics.h>

+ Inheritance diagram for IMP::atom::LinearVelocity:

Detailed Description

A particle with linear (XYZ) velocity.

Typically this is used in combination with the MolecularDynamics optimizer.

Definition at line 23 of file atom/MolecularDynamics.h.

Public Member Functions

algebra::Vector3D get_velocity () const
 
 IMP_DECORATOR_METHODS (LinearVelocity, Decorator)
 
 IMP_DECORATOR_SETUP_0 (LinearVelocity)
 
 IMP_DECORATOR_SETUP_1 (LinearVelocity, algebra::Vector3D, v)
 
void set_velocity (const algebra::Vector3D &v)
 
- Public Member Functions inherited from IMP::kernel::Decorator
bool get_is_valid () const
 
Modelget_model () const
 Returns the Model containing the particle. More...
 
Particleget_particle () const
 Returns the particle decorated by this decorator. More...
 
ParticleIndex get_particle_index () const
 Returns the particle index decorated by this decorator. More...
 
 operator Particle * () const
 
 operator ParticleIndex () const
 
Particleoperator-> () const
 

Static Public Member Functions

static bool get_is_setup (kernel::Model *m, kernel::ParticleIndex pi)
 
static FloatKey get_velocity_key (unsigned int i)
 

Additional Inherited Members

- Protected Member Functions inherited from IMP::kernel::Decorator
 Decorator (Model *m, ParticleIndex pi)
 
 Decorator (ParticleAdaptor p)
 

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