IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform

Add symmetric attribute to a particle. More...

#include <IMP/pmi/Symmetric.h>

Inheritance diagram for IMP::pmi::Symmetric:

Detailed Description

Add symmetric attribute to a particle.

False means the particle is reference or non symmetric.

Definition at line 23 of file Symmetric.h.

Public Member Functions

 Symmetric (::IMP::Model *m, ::IMP::ParticleIndex id)
 Symmetric (const IMP::ParticleAdaptor &d)
Float get_symmetric () const
void set_symmetric (Float d)
void show (std::ostream &out=std::cout) const
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 (const IMP::ParticleAdaptor &p)
static bool get_is_setup (Model *m, ParticleIndex pi)
static FloatKey get_symmetric_key ()
static Symmetric setup_particle (IMP::ParticleAdaptor pa, Float symmetric)
static Symmetric setup_particle (Model *m, ParticleIndex pi, Float symmetric)

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ Symmetric() [1/3]

IMP::pmi::Symmetric::Symmetric ( )

Definition at line 42 of file Symmetric.h.

◆ Symmetric() [2/3]

IMP::pmi::Symmetric::Symmetric ( ::IMP::Model * m,
::IMP::ParticleIndex id )

Definition at line 42 of file Symmetric.h.

◆ Symmetric() [3/3]

IMP::pmi::Symmetric::Symmetric ( const IMP::ParticleAdaptor & d)
explicit

Definition at line 42 of file Symmetric.h.

Member Function Documentation

◆ get_is_setup() [1/2]

bool IMP::pmi::Symmetric::get_is_setup ( const IMP::ParticleAdaptor & p)
static

Definition at line 42 of file Symmetric.h.

◆ get_is_setup() [2/2]

bool IMP::pmi::Symmetric::get_is_setup ( Model * m,
ParticleIndex pi )
static

Definition at line 29 of file Symmetric.h.

◆ get_symmetric()

Float IMP::pmi::Symmetric::get_symmetric ( ) const

Definition at line 33 of file Symmetric.h.

◆ set_symmetric()

void IMP::pmi::Symmetric::set_symmetric ( Float d)

Definition at line 38 of file Symmetric.h.

◆ setup_particle() [1/2]

Symmetric IMP::pmi::Symmetric::setup_particle ( IMP::ParticleAdaptor pa,
Float symmetric )
static
Returns
a Symmetric object that decorates the particle specified by pa
See also
setup_particle(m, pi, symmetric)

Definition at line 44 of file Symmetric.h.

◆ setup_particle() [2/2]

Symmetric IMP::pmi::Symmetric::setup_particle ( Model * m,
ParticleIndex pi,
Float symmetric )
static

Set the symmetric attribute to the particle.

Returns
a Symmetric object that decorates particle pi

Definition at line 44 of file Symmetric.h.


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