IMP  2.0.1
The Integrative Modeling Platform
IMP::atom::Mass Class Reference

Add mass to a particle. More...

#include <IMP/atom/Mass.h>

+ Inheritance diagram for IMP::atom::Mass:

Public Member Functions

 Mass (Model *m, ParticleIndex id)
 
 Mass (::IMP::kernel::Particle *p)
 
Float get_mass () const
 
void set_mass (Float d)
 
void show (std::ostream &out=std::cout) const
 
- Public Member Functions inherited from IMP::kernel::Decorator
ParticleIndex get_particle_index () const
 
Particleget_particle () const
 
Modelget_model () const
 Returns the Model containing the particle.
 
 Decorator (Particle *p)
 
 Decorator ()
 

Static Public Member Functions

static Mass decorate_particle (::IMP::kernel::Particle *p)
 
static FloatKey get_mass_key ()
 
static bool particle_is_instance (Particle *p)
 
static Mass setup_particle (Particle *p, double mass)
 
- Static Public Member Functions inherited from IMP::kernel::Decorator
static bool particle_is_instance (Particle *p)
 Return true if the particle can be cast to the decorator. More...
 

Additional Inherited Members

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

Detailed Description

The mass of the particle is assumed to be in Daltons.

Definition at line 23 of file Mass.h.


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