IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
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 25 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::Decorator
bool get_is_valid () const
 Returns true if constructed with a non-default constructor.
Model * get_model () const
 Returns the Model containing the particle.
Particle * get_particle () const
 Returns the particle decorated by this decorator.
ParticleIndex get_particle_index () const
 Returns the particle index decorated by this decorator.
 operator Particle * () const
 operator ParticleIndex () const
Particle * operator-> () const

Static Public Member Functions

static bool get_is_setup (Model *m, ParticleIndex pi)
static Vector3DKey get_velocity_key ()

Additional Inherited Members

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

Member Function Documentation

◆ get_is_setup()

bool IMP::atom::LinearVelocity::get_is_setup ( Model * m,
ParticleIndex pi )
static

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

◆ get_velocity()

algebra::Vector3D IMP::atom::LinearVelocity::get_velocity ( ) const

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

◆ set_velocity()

void IMP::atom::LinearVelocity::set_velocity ( const algebra::Vector3D & v)

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


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