|
IMP Reference Guide
develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
|
A decorator for a spring particle connecting two diffusing particles. More...
#include <IMP/npctransport/RelaxingSpring.h>
A decorator for a spring particle connecting two diffusing particles.
Definition at line 25 of file RelaxingSpring.h.
Static Public Member Functions | |
| static ParticleIndexKey | get_bonded_particle_0_key () |
| static ParticleIndexKey | get_bonded_particle_1_key () |
| static FloatKey | get_equilibrium_rest_length_factor_key () |
| get decorator key for spring equilibrium rest length factor | |
| static bool | get_is_setup (const IMP::ParticleAdaptor &p) |
| static bool | get_is_setup (Model *m, ParticleIndex pi) |
| Return true if the particle is an instance of an Transporting. | |
| static FloatKey | get_rest_length_diffusion_coefficient_key () |
| get decorator key for diffusion coefficient of rest length | |
| static FloatKey | get_rest_length_key () |
| get decorator key for spring rest length | |
| static RelaxingSpring | setup_particle (IMP::ParticleAdaptor pa, ParticleIndex bonded_pi0, ParticleIndex bonded_pi1, double equilibrium_rest_length_factor, double rest_length_diffusion_coefficient) |
| static RelaxingSpring | setup_particle (Model *m, ParticleIndex pi, ParticleIndex bonded_pi0, ParticleIndex bonded_pi1, double equilibrium_rest_length_factor, double rest_length_diffusion_coefficient) |
Additional Inherited Members | |
| Protected Member Functions inherited from IMP::Decorator | |
| Decorator (Model *m, ParticleIndex pi) | |
| Decorator (ParticleAdaptor p) | |
| IMP::npctransport::RelaxingSpring::RelaxingSpring | ( | ) |
Definition at line 48 of file RelaxingSpring.h.
| IMP::npctransport::RelaxingSpring::RelaxingSpring | ( | ::IMP::Model * | m, |
| ::IMP::ParticleIndex | id ) |
Definition at line 48 of file RelaxingSpring.h.
|
explicit |
Definition at line 48 of file RelaxingSpring.h.
| void IMP::npctransport::RelaxingSpring::add_to_rest_length_derivative | ( | double | d, |
| DerivativeAccumulator & | da ) |
Definition at line 120 of file RelaxingSpring.h.
| Particle * IMP::npctransport::RelaxingSpring::get_bonded_particle_0 | ( | ) | const |
Definition at line 89 of file RelaxingSpring.h.
| Particle * IMP::npctransport::RelaxingSpring::get_bonded_particle_1 | ( | ) | const |
Definition at line 94 of file RelaxingSpring.h.
| ParticleIndex IMP::npctransport::RelaxingSpring::get_bonded_particle_index_0 | ( | ) | const |
Definition at line 99 of file RelaxingSpring.h.
| ParticleIndex IMP::npctransport::RelaxingSpring::get_bonded_particle_index_1 | ( | ) | const |
Definition at line 103 of file RelaxingSpring.h.
| Float IMP::npctransport::RelaxingSpring::get_equilibrium_rest_length_factor | ( | ) | const |
returns the value of the equilibrium_rest_length_factor attribute
Definition at line 110 of file RelaxingSpring.h.
|
static |
get decorator key for spring equilibrium rest length factor
|
static |
Definition at line 48 of file RelaxingSpring.h.
|
static |
Return true if the particle is an instance of an Transporting.
Definition at line 70 of file RelaxingSpring.h.
| Float IMP::npctransport::RelaxingSpring::get_rest_length | ( | ) | const |
returns the value of the rest_length attribute
Definition at line 114 of file RelaxingSpring.h.
| double IMP::npctransport::RelaxingSpring::get_rest_length_derivative | ( | ) |
Definition at line 129 of file RelaxingSpring.h.
| Float IMP::npctransport::RelaxingSpring::get_rest_length_diffusion_coefficient | ( | ) | const |
returns the value of the rest_length_diffusion_coefficient attribute
Definition at line 118 of file RelaxingSpring.h.
|
static |
get decorator key for diffusion coefficient of rest length
|
static |
get decorator key for spring rest length
| void IMP::npctransport::RelaxingSpring::set_equilibrium_rest_length_factor | ( | Float | t | ) |
sets the value of the equilibrium_rest_length_factor attribute to t
Definition at line 110 of file RelaxingSpring.h.
| void IMP::npctransport::RelaxingSpring::set_rest_length | ( | Float | t | ) |
sets the value of the rest_length attribute to t
Definition at line 114 of file RelaxingSpring.h.
| void IMP::npctransport::RelaxingSpring::set_rest_length_diffusion_coefficient | ( | Float | t | ) |
sets the value of the rest_length_diffusion_coefficient attribute to t
Definition at line 118 of file RelaxingSpring.h.
|
static |
Definition at line 67 of file RelaxingSpring.h.
|
static |
Decorate a spring particle that connects two particles in no particular order, with a dynamic rest length that may relax towards some equilibrium value
| m | the model |
| pi | the particle index |
| bonded_pi0 | particle on first side of spring |
| bonded_pi1 | particle on second side of spring |
| equilibrium_rest_length_factor | the rest length factor of the spring at equilibrium (relative to sum of the radii of the bonded particles) |
| rest_length_diffusion_coefficient | the diffusion coefficient for the rest length |
Definition at line 67 of file RelaxingSpring.h.