#include <IMP/npctransport/FGChain.h>
a chain with a root
root - root of hierarchy beads - fine chain particles
Definition at line 37 of file FGChain.h.
◆ FGChain()
| IMP::npctransport::FGChain::FGChain |
( |
IMP::Particle * | root, |
|
|
double | backbone_k = 0.0, |
|
|
double | rest_length_factor = 1.0, |
|
|
std::string | name = "chain %1%" ) |
initialized an FG chain with given backbone k and rest length factor, and a specified root whose leaves are the beads of the chain.
- Parameters
-
| root | root of the chain (leaves are assumed beads). can be null = to be added later |
| backbone_k | force constant between consecutive chain beads |
| rest_length_factor | equilibrium distance factor between consecutive beads relative to the sum of their radii |
| name | chain object name |
- See also
- LinearWellPairScore
Definition at line 82 of file FGChain.h.
◆ ~FGChain()
| virtual IMP::npctransport::FGChain::~FGChain |
( |
| ) |
|
|
virtual |
◆ get_backbone_k()
| double IMP::npctransport::FGChain::get_backbone_k |
( |
| ) |
const |
get the force constant between consecutive chain beads
Definition at line 182 of file FGChain.h.
◆ get_bead()
| IMP::Particle * IMP::npctransport::FGChain::get_bead |
( |
unsigned int | i | ) |
const |
get the i'th bead in the chain (assume valid root)
Definition at line 128 of file FGChain.h.
◆ get_bead_index()
get the i'th bead index in the chain (assume valid root)
Definition at line 132 of file FGChain.h.
◆ get_beads()
| IMP::ParticlesTemp IMP::npctransport::FGChain::get_beads |
( |
| ) |
const |
get the beads of the chain (assume valid root)
Definition at line 124 of file FGChain.h.
◆ get_chain_restraints()
| virtual Restraints IMP::npctransport::FGChain::get_chain_restraints |
( |
Scoring const * | scoring_manager | ) |
|
|
virtual |
Returns a restraint associated with internal interactions by this chain. Once this method has been called once, it is assumed that the chain topology remains static (the behavior of the restraint if the chain topology changes is undefined, e.g. if beads are added)
- Note
- this restraint is affected by future calls to set_rest_length_factor() and set_backbone_k(). However, it applies only to the topology of the chain at the time of call, if the chain topology changes, this methods should be called again.
-
assumes that the chain has a valid root whose leaves are beads
◆ get_number_of_beads()
| unsigned int IMP::npctransport::FGChain::get_number_of_beads |
( |
| ) |
const |
get the number of beads in the chain (assume valid root)
Definition at line 136 of file FGChain.h.
◆ get_rest_length_factor()
| double IMP::npctransport::FGChain::get_rest_length_factor |
( |
| ) |
const |
get the equilibrium distance factor between consecutive beads relative to the sum of their radii
Definition at line 177 of file FGChain.h.
◆ get_root()
◆ get_type_name()
| virtual std::string IMP::npctransport::FGChain::get_type_name |
( |
| ) |
const |
|
overridevirtual |
◆ get_version_info()
Get information about the module and version of the object.
Reimplemented from IMP::Object.
Definition at line 186 of file FGChain.h.
◆ set_backbone_k()
| void IMP::npctransport::FGChain::set_backbone_k |
( |
double | k | ) |
|
◆ set_rest_length_factor()
| void IMP::npctransport::FGChain::set_rest_length_factor |
( |
double | rlf | ) |
|
◆ set_root() [1/2]
set the root of the chain to this particle with the beads being the leaves of Hierarchy(p)
Definition at line 115 of file FGChain.h.
◆ set_root() [2/2]
| void IMP::npctransport::FGChain::set_root |
( |
Particle * | p | ) |
|
|
protected |
set the root of the chain to this particle with the beads being the leaves of Hierarchy(p)
- Note
- it is assumed that p is decorated as atom::Hiererachy
Definition at line 106 of file FGChain.h.
The documentation for this class was generated from the following file: