#include <Polymer.h>

Public Types | |
| typedef std::vector < Bond * > | BondList |
Public Member Functions | |
| Polymer () | |
| Polymer (const Polymer &) | |
| virtual Polymer * | Clone () |
| virtual | ~Polymer () |
| void | OnEvent () |
| unsigned int | GetNumberOfBeads () |
| unsigned int | GetNumberOfRigidBodies () |
| unsigned int | GetNumberOfSprings () |
| Bead * | GetBead (unsigned int) |
| RigidBody * | GetRigidBody (unsigned int) |
| Spring * | GetSpring (unsigned int) |
| void | AddBead (Bead *) |
| void | AddRigidBody (RigidBody *) |
| void | AddBond (Spring *, Bead *, Bead *) |
| void | PreForceMove () |
| Defines the pre-force integration method. | |
| void | PostForceMove () |
| Defines the post-force integration method. | |
| void | SetVelocity (const glotz_vec &) |
| void | ModifyVelocity (const glotz_vec &) |
| void | SetPosition (const glotz_vec &) |
| void | SetPositionInBox (const glotz_vec &) |
| void | SetVelocity (const glotz_flt, const glotz_flt, const glotz_flt) |
| void | SetPosition (const glotz_flt, const glotz_flt, const glotz_flt) |
| void | RescaleVelocity (const glotz_flt) |
| void | InvertVelocity () |
| Bead * | GetBeadPtr (const int) |
| Utility function for restarting. | |
| glotz_vec | ComputePosition () const |
| glotz_vec | ComputeVelocity () const |
| virtual glotz_flt | ComputeVolume () const |
| glotz_flt | ComputeLinearKineticEnergy () const |
| glotz_flt | ComputeAngularKineticEnergy () const |
| virtual int | ComputeDegreesOfFreedom (const int) const |
| int | GetNumberOfSprings () const |
| int | GetNumberOfRigidBodies () const |
| int | GetNumberOfNonRigidBeads () const |
| int | Size () const |
| glotz_flt | GetMass () const |
| virtual void | PrintVis3dTemplate (std::ostream &) |
| virtual void | PrintVis3d (std::ostream &) |
Public Attributes | |
| BeadList | xLocalBead |
| Local vector of ALL beads. | |
| BeadList | xBead |
| Local vector of FREE beads (not in rigid bodies). | |
| RigidBodyList | xRigidBody |
| Local vector of all rigid bodies. | |
| BondList | xBond |
| Local vector of all bonds. | |
Protected Attributes | |
| SimulationEvent | mPossibleEvents |
Classes | |
| struct | Bond |
| typedef std::vector<Bond*> glotzmd::Polymer::BondList |
| glotzmd::Polymer::Polymer | ( | ) |
| glotzmd::Polymer::Polymer | ( | const Polymer & | rhs | ) |
| rhs | is a reference to the Polymer to be copied |
| glotzmd::Polymer::~Polymer | ( | ) | [virtual] |
| Polymer * glotzmd::Polymer::Clone | ( | ) | [virtual] |
Implements glotzmd::Particle.
| void glotzmd::Polymer::OnEvent | ( | ) | [virtual] |
Reimplemented from glotzmd::BaseObject.
| unsigned int glotzmd::Polymer::GetNumberOfBeads | ( | ) | [virtual] |
Reimplemented from glotzmd::Particle.
| unsigned int glotzmd::Polymer::GetNumberOfRigidBodies | ( | ) | [virtual] |
Reimplemented from glotzmd::Particle.
| unsigned int glotzmd::Polymer::GetNumberOfSprings | ( | ) | [virtual] |
Reimplemented from glotzmd::Particle.
| Bead * glotzmd::Polymer::GetBead | ( | unsigned int | i | ) | [virtual] |
Reimplemented from glotzmd::Particle.
| RigidBody * glotzmd::Polymer::GetRigidBody | ( | unsigned int | i | ) | [virtual] |
Reimplemented from glotzmd::Particle.
| Spring * glotzmd::Polymer::GetSpring | ( | unsigned int | i | ) | [virtual] |
Reimplemented from glotzmd::Particle.
| void glotzmd::Polymer::AddBead | ( | Bead * | bead | ) |
| void glotzmd::Polymer::AddRigidBody | ( | RigidBody * | rbody | ) |
| void glotzmd::Polymer::PreForceMove | ( | ) | [virtual] |
| void glotzmd::Polymer::PostForceMove | ( | ) | [virtual] |
| void glotzmd::Polymer::SetVelocity | ( | const glotz_vec & | velocity | ) | [virtual] |
Implements glotzmd::Particle.
| void glotzmd::Polymer::ModifyVelocity | ( | const glotz_vec & | dv | ) | [virtual] |
Implements glotzmd::Particle.
| void glotzmd::Polymer::SetPosition | ( | const glotz_vec & | position | ) | [virtual] |
Implements glotzmd::Particle.
| void glotzmd::Polymer::SetPositionInBox | ( | const glotz_vec & | position | ) | [virtual] |
Implements glotzmd::Particle.
| void glotzmd::Polymer::SetVelocity | ( | const | glotz_flt, | |
| const | glotz_flt, | |||
| const | glotz_flt | |||
| ) | [virtual] |
Implements glotzmd::Particle.
| void glotzmd::Polymer::SetPosition | ( | const | glotz_flt, | |
| const | glotz_flt, | |||
| const | glotz_flt | |||
| ) | [virtual] |
Implements glotzmd::Particle.
| void glotzmd::Polymer::RescaleVelocity | ( | const | glotz_flt | ) | [virtual] |
Implements glotzmd::Particle.
| void glotzmd::Polymer::InvertVelocity | ( | ) | [virtual] |
Implements glotzmd::Particle.
| Bead * glotzmd::Polymer::GetBeadPtr | ( | const | int | ) |
Utility function for restarting.
| id | is the sequencer of the desired bead |
| glotz_vec glotzmd::Polymer::ComputePosition | ( | ) | const [virtual] |
Implements glotzmd::Particle.
| glotz_vec glotzmd::Polymer::ComputeVelocity | ( | ) | const [virtual] |
Implements glotzmd::Particle.
| glotz_flt glotzmd::Polymer::ComputeVolume | ( | ) | const [virtual] |
Implements glotzmd::Particle.
| glotz_flt glotzmd::Polymer::ComputeLinearKineticEnergy | ( | ) | const [virtual] |
Implements glotzmd::Particle.
| glotz_flt glotzmd::Polymer::ComputeAngularKineticEnergy | ( | ) | const [virtual] |
Implements glotzmd::Particle.
| int glotzmd::Polymer::ComputeDegreesOfFreedom | ( | const | int | ) | const [virtual] |
Implements glotzmd::Particle.
| int glotzmd::Polymer::GetNumberOfSprings | ( | ) | const |
| int glotzmd::Polymer::GetNumberOfRigidBodies | ( | ) | const |
| int glotzmd::Polymer::GetNumberOfNonRigidBeads | ( | ) | const |
| int glotzmd::Polymer::Size | ( | ) | const [virtual] |
Reimplemented from glotzmd::Particle.
| glotz_flt glotzmd::Polymer::GetMass | ( | ) | const [virtual] |
Reimplemented from glotzmd::Particle.
| void glotzmd::Polymer::PrintVis3dTemplate | ( | std::ostream & | os | ) | [virtual] |
Implements glotzmd::Particle.
| void glotzmd::Polymer::PrintVis3d | ( | std::ostream & | os | ) | [virtual] |
Implements glotzmd::Particle.
Local vector of ALL beads.
Local vector of FREE beads (not in rigid bodies).
Local vector of all rigid bodies.
Local vector of all bonds.
SimulationEvent glotzmd::Polymer::mPossibleEvents [protected] |
1.5.3