|
Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
|
A handle to a dihedral bond. More...
#include <tfDihedral.h>
Public Member Functions | |
| Dihedral * | get () |
| Gets the dihedral of this handle. | |
| std::string | str () const |
| Get a summary string of the dihedral. | |
| bool | check () |
| Check the validity of the handle. | |
| HRESULT | destroy () |
| Destroy the dihedral. | |
| bool | decays () |
| Tests whether this bond decays. | |
| ParticleHandle * | operator[] (unsigned int index) |
| bool | has (const int32_t &pid) |
| bool | has (ParticleHandle *part) |
| FloatP_t | getAngle () |
| FPTYPE | getEnergy () |
| std::vector< int32_t > | getParts () |
| ParticleList | getPartList () |
| Potential * | getPotential () |
| uint32_t | getId () |
| FPTYPE | getDissociationEnergy () |
| void | setDissociationEnergy (const FPTYPE &dissociation_energy) |
| FPTYPE | getHalfLife () |
| void | setHalfLife (const FPTYPE &half_life) |
| rendering::Style * | getStyle () |
| void | setStyle (rendering::Style *style) |
| FPTYPE | getAge () |
| DihedralHandle (const int &_id) | |
| Construct a new dihedral handle from an existing dihedral id. | |
Static Public Member Functions | |
| static std::vector< DihedralHandle > | items () |
| Gets all dihedrals in the universe. | |
Public Attributes | |
| int | id |
A handle to a dihedral bond.
This is a safe way to work with a dihedral bond.
| TissueForge::DihedralHandle::DihedralHandle | ( | const int & | _id | ) |
Construct a new dihedral handle from an existing dihedral id.
| id | id of existing dihedral |
| bool TissueForge::DihedralHandle::check | ( | ) |
Check the validity of the handle.
| bool TissueForge::DihedralHandle::decays | ( | ) |
Tests whether this bond decays.
| Dihedral * TissueForge::DihedralHandle::get | ( | ) |
Gets the dihedral of this handle.
| FPTYPE TissueForge::DihedralHandle::getAge | ( | ) |
Get the age
| FloatP_t TissueForge::DihedralHandle::getAngle | ( | ) |
Get the current angle
| FPTYPE TissueForge::DihedralHandle::getDissociationEnergy | ( | ) |
Get the dissociation energy
| FPTYPE TissueForge::DihedralHandle::getEnergy | ( | ) |
Get the energy
| FPTYPE TissueForge::DihedralHandle::getHalfLife | ( | ) |
Get the half life
| uint32_t TissueForge::DihedralHandle::getId | ( | ) |
Get the id
| ParticleList TissueForge::DihedralHandle::getPartList | ( | ) |
Get the particle list
| std::vector< int32_t > TissueForge::DihedralHandle::getParts | ( | ) |
Get the particle ids
| Potential * TissueForge::DihedralHandle::getPotential | ( | ) |
Get the potential
| rendering::Style * TissueForge::DihedralHandle::getStyle | ( | ) |
Get the style
| bool TissueForge::DihedralHandle::has | ( | const int32_t & | pid | ) |
Test whether the bond has an id
| bool TissueForge::DihedralHandle::has | ( | ParticleHandle * | part | ) |
Test whether the bond has a particle
| void TissueForge::DihedralHandle::setDissociationEnergy | ( | const FPTYPE & | dissociation_energy | ) |
Set the dissociation energy
| void TissueForge::DihedralHandle::setHalfLife | ( | const FPTYPE & | half_life | ) |
Set the half life
| void TissueForge::DihedralHandle::setStyle | ( | rendering::Style * | style | ) |
Set the style