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