OpenMD 3.1
Molecular Dynamics in the Open
|
An adapter class of StuntDouble which is used at constraint algorithm. More...
#include "constraints/ConstraintElem.hpp"
Public Member Functions | |
ConstraintElem (StuntDouble *sd) | |
bool | getMoved () |
void | setMoved (bool moved) |
bool | getMoving () |
void | setMoving (bool moving) |
StuntDouble * | getStuntDouble () |
int | getGlobalIndex () |
Returns the global index of this stuntRealType. | |
void | setGlobalIndex (int index) |
Sets the global index of this stuntRealType. | |
int | getLocalIndex () |
Returns the local index of this stuntdouble. | |
void | setLocalIndex (int index) |
Sets the local index of this stuntdouble. | |
void | setSnapshotManager (SnapshotManager *sman) |
Sets the Snapshot Manager of this stuntdouble. | |
bool | isAtom () |
Tests if this stuntdouble is an atom. | |
bool | isDirectionalAtom () |
Tests if this stuntdouble is an directional atom. | |
bool | isRigidBody () |
Tests if this stuntdouble is a rigid body. | |
bool | isDirectional () |
Tests if this stuntdouble is a directional one. | |
Vector3d | getPrevPos () |
Returns the previous position of this stuntdouble. | |
Vector3d | getPos () |
Returns the current position of this stuntdouble. | |
Vector3d | getPos (int snapshotNo) |
Returns the position of this stuntdouble in specified snapshot. | |
void | setPrevPos (const Vector3d &pos) |
Sets the previous position of this stuntdouble. | |
void | setPos (const Vector3d &pos) |
Sets the current position of this stuntdouble. | |
void | setPos (const Vector3d &pos, int snapshotNo) |
Sets the position of this stuntdouble in specified snapshot. | |
Vector3d | getPrevVel () |
Returns the previous velocity of this stuntdouble. | |
Vector3d | getVel () |
Returns the current velocity of this stuntdouble. | |
Vector3d | getVel (int snapshotNo) |
Returns the velocity of this stuntdouble in specified snapshot. | |
void | setPrevVel (const Vector3d &vel) |
Sets the previous velocity of this stuntdouble. | |
void | setVel (const Vector3d &vel) |
Sets the current velocity of this stuntdouble. | |
void | setVel (const Vector3d &vel, int snapshotNo) |
Sets the velocity of this stuntdouble in specified snapshot. | |
RotMat3x3d | getPrevA () |
Returns the previous rotation matrix of this stuntdouble. | |
RotMat3x3d | getA () |
Returns the current rotation matrix of this stuntdouble. | |
RotMat3x3d | getA (int snapshotNo) |
Returns the rotation matrix of this stuntdouble in specified snapshot. | |
void | setPrevA (const RotMat3x3d &a) |
Sets the previous rotation matrix of this stuntdouble. | |
void | setA (const RotMat3x3d &a) |
Sets the current rotation matrix of this stuntdouble. | |
void | setA (const RotMat3x3d &a, int snapshotNo) |
Sets the rotation matrix of this stuntdouble in specified snapshot. | |
Vector3d | getPrevJ () |
Returns the previous angular momentum of this stuntdouble (body-fixed). | |
Vector3d | getJ () |
Returns the current angular momentum of this stuntdouble (body -fixed). | |
Vector3d | getJ (int snapshotNo) |
Returns the angular momentum of this stuntdouble in specified snapshot (body-fixed). | |
void | setPrevJ (const Vector3d &angMom) |
Sets the previous angular momentum of this stuntdouble (body-fixed). | |
void | setJ (const Vector3d &angMom) |
Sets the current angular momentum of this stuntdouble (body-fixed). | |
void | setJ (const Vector3d &angMom, int snapshotNo) |
Sets the angular momentum of this stuntdouble in specified snapshot(body-fixed). | |
Quat4d | getPrevQ () |
Returns the previous quaternion of this stuntdouble. | |
Quat4d | getQ () |
Returns the current quaternion of this stuntdouble. | |
Quat4d | getQ (int snapshotNo) |
Returns the quaternion of this stuntdouble in specified snapshot. | |
void | setPrevQ (const Quat4d &q) |
Sets the previous quaternion of this stuntdouble. | |
void | setQ (const Quat4d &q) |
Sets the current quaternion of this stuntdouble. | |
void | setQ (const Quat4d &q, int snapshotNo) |
Sets the quaternion of this stuntdouble in specified snapshot. | |
Vector3d | getPrevEuler () |
Returns the previous euler angles of this stuntdouble. | |
Vector3d | getEuler () |
Returns the current euler angles of this stuntdouble. | |
Vector3d | getEuler (int snapshotNo) |
Returns the euler angles of this stuntdouble in specified snapshot. | |
void | setPrevEuler (const Vector3d &euler) |
Sets the previous euler angles of this stuntRealType. | |
void | setEuler (const Vector3d &euler) |
Sets the current euler angles of this stuntdouble. | |
void | setEuler (const Vector3d &euler, int snapshotNo) |
Sets the euler angles of this stuntdouble in specified snapshot. | |
Vector3d | getPrevDipole () |
Returns the previous dipole vector of this stuntDouble. | |
Vector3d | getDipole () |
Returns the current dipole vector of this stuntDouble. | |
Vector3d | getDipole (int snapshotNo) |
Returns the dipole vector of this stuntDouble in specified snapshot. | |
Mat3x3d | getPrevQuadrupole () |
Returns the previous quadrupole tensor of this stuntDouble. | |
Mat3x3d | getQuadrupole () |
Returns the current quadrupole tensor of this stuntDouble. | |
Mat3x3d | getQuadrupole (int snapshotNo) |
Returns the quadrupole tensor of this stuntDouble in specified snapshot. | |
Vector3d | getPrevFrc () |
Returns the previous force of this stuntdouble. | |
Vector3d | getFrc () |
Returns the current force of this stuntdouble. | |
Vector3d | getFrc (int snapshotNo) |
Returns the force of this stuntdouble in specified snapshot. | |
void | setPrevFrc (const Vector3d &frc) |
Sets the previous force of this stuntdouble. | |
void | setFrc (const Vector3d &frc) |
Sets the current force of this stuntdouble. | |
void | setFrc (const Vector3d &frc, int snapshotNo) |
Sets the force of this stuntdouble in specified snapshot. | |
void | addPrevFrc (const Vector3d &frc) |
Adds force into the previous force of this stuntdouble. | |
void | addFrc (const Vector3d &frc) |
Adds force into the current force of this stuntdouble. | |
void | addFrc (const Vector3d &frc, int snapshotNo) |
Adds force into the force of this stuntdouble in specified snapshot. | |
Vector3d | getPrevTrq () |
Returns the previous torque of this stuntdouble. | |
Vector3d | getTrq () |
Returns the current torque of this stuntdouble. | |
Vector3d | getTrq (int snapshotNo) |
Returns the torque of this stuntdouble in specified snapshot. | |
void | setPrevTrq (const Vector3d &trq) |
Sets the previous torque of this stuntdouble. | |
void | setTrq (const Vector3d &trq) |
Sets the current torque of this stuntdouble. | |
void | setTrq (const Vector3d &trq, int snapshotNo) |
Sets the torque of this stuntdouble in specified snapshot. | |
void | addPrevTrq (const Vector3d &trq) |
Adds torque into the previous torque of this stuntdouble. | |
void | addTrq (const Vector3d &trq) |
Adds torque into the current torque of this stuntdouble. | |
void | addTrq (const Vector3d &trq, int snapshotNo) |
Adds torque into the torque of this stuntdouble in specified snapshot. | |
void | zeroForcesAndTorques () |
Set the force of this stuntdouble to zero. | |
Mat3x3d | getI () |
Returns the inertia tensor of this stuntdouble. | |
std::vector< RealType > | getGrad () |
Returns the gradient of this stuntdouble. | |
bool | isLinear () |
Tests the if this stuntdouble is a linear rigidbody. | |
int | linearAxis () |
Returns the linear axis of the rigidbody, atom and directional atom will always return -1. | |
RealType | getMass () |
Returns the mass of this stuntdouble. | |
void | setMass (RealType mass) |
Sets the mass of this stuntdoulbe. | |
std::string | getType () |
Returns the name of this stuntdouble. | |
void | setType (const std::string &name) |
Sets the name of this stuntRealType. | |
Vector3d | lab2Body (const Vector3d &v) |
Converts a lab fixed vector to a body fixed vector. | |
Vector3d | body2Lab (const Vector3d &v) |
Converts a body fixed vector to a lab fixed vector. | |
void | accept (BaseVisitor *v) |
void | addProperty (std::shared_ptr< GenericData > genData) |
Adds property into property map. | |
void | removeProperty (const std::string &propName) |
Removes property from PropertyMap by name. | |
std::vector< std::string > | getPropertyNames () |
Returns all names of properties. | |
std::vector< std::shared_ptr< GenericData > > | getProperties () |
Returns all of the properties in PropertyMap. | |
std::shared_ptr< GenericData > | getPropertyByName (const std::string &propName) |
Returns property. | |
An adapter class of StuntDouble which is used at constraint algorithm.
Definition at line 61 of file ConstraintElem.hpp.
|
inline |
Definition at line 63 of file ConstraintElem.hpp.
|
inline |
The purpose of the Visitor Pattern is to encapsulate an operation that you want to perform on the elements of a data structure. In this way, you can change the operation being performed on a structure without the need of changing the classes of the elements that you are operating on. Using a Visitor pattern allows you to decouple the classes for the data structure and the algorithms used upon them
v | visitor |
Definition at line 679 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::accept().
|
inline |
Adds force into the current force of this stuntdouble.
frc | new force |
Definition at line 522 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::addFrc().
|
inline |
Adds force into the force of this stuntdouble in specified snapshot.
frc | force to be set |
snapshotNo |
Definition at line 531 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::addFrc().
|
inline |
Adds force into the previous force of this stuntdouble.
frc | new force |
Definition at line 516 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::addPrevFrc().
|
inline |
Adds torque into the previous torque of this stuntdouble.
trq | new torque |
Definition at line 586 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::addPrevTrq().
|
inline |
Adds property into property map.
genData | GenericData to be added into PropertyMap |
Definition at line 686 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::addProperty().
|
inline |
Adds torque into the current torque of this stuntdouble.
trq | new torque |
Definition at line 592 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::addTrq().
|
inline |
Adds torque into the torque of this stuntdouble in specified snapshot.
trq | torque to be add |
snapshotNo |
Definition at line 601 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::addTrq().
Converts a body fixed vector to a lab fixed vector.
v | body fixed vector |
Definition at line 667 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::body2Lab().
|
inline |
Returns the current rotation matrix of this stuntdouble.
Definition at line 262 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getA().
|
inline |
Returns the rotation matrix of this stuntdouble in specified snapshot.
snapshotNo |
Definition at line 270 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getA().
|
inline |
Returns the current dipole vector of this stuntDouble.
Definition at line 433 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getDipole().
|
inline |
Returns the dipole vector of this stuntDouble in specified snapshot.
snapshotNo |
Definition at line 441 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getDipole().
|
inline |
Returns the current euler angles of this stuntdouble.
Definition at line 389 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getEuler().
|
inline |
Returns the euler angles of this stuntdouble in specified snapshot.
snapshotNo |
Definition at line 396 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getEuler().
|
inline |
Returns the current force of this stuntdouble.
Definition at line 475 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getFrc().
|
inline |
Returns the force of this stuntdouble in specified snapshot.
snapshotNo |
Definition at line 483 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getFrc().
|
inline |
Returns the global index of this stuntRealType.
Definition at line 113 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getGlobalIndex().
|
inline |
Returns the gradient of this stuntdouble.
Definition at line 617 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getGrad().
|
inline |
Returns the inertia tensor of this stuntdouble.
Definition at line 611 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getI().
|
inline |
Returns the current angular momentum of this stuntdouble (body -fixed).
Definition at line 303 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getJ().
|
inline |
Returns the angular momentum of this stuntdouble in specified snapshot (body-fixed).
snapshotNo |
Definition at line 311 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getJ().
|
inline |
Returns the local index of this stuntdouble.
Definition at line 125 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getLocalIndex().
|
inline |
Returns the mass of this stuntdouble.
Definition at line 641 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getMass().
|
inline |
Definition at line 101 of file ConstraintElem.hpp.
|
inline |
Definition at line 104 of file ConstraintElem.hpp.
|
inline |
Returns the current position of this stuntdouble.
Definition at line 177 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getPos().
|
inline |
Returns the position of this stuntdouble in specified snapshot.
snapshotNo |
Definition at line 184 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getPos().
|
inline |
Returns the previous rotation matrix of this stuntdouble.
Definition at line 256 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getPrevA().
|
inline |
Returns the previous dipole vector of this stuntDouble.
Definition at line 427 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getPrevDipole().
|
inline |
Returns the previous euler angles of this stuntdouble.
Definition at line 383 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getPrevEuler().
|
inline |
Returns the previous force of this stuntdouble.
Definition at line 469 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getPrevFrc().
|
inline |
Returns the previous angular momentum of this stuntdouble (body-fixed).
Definition at line 297 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getPrevJ().
|
inline |
Returns the previous position of this stuntdouble.
Definition at line 171 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getPrevPos().
|
inline |
Returns the previous quaternion of this stuntdouble.
Definition at line 341 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getPrevQ().
|
inline |
Returns the previous quadrupole tensor of this stuntDouble.
Definition at line 447 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getPrevQuadrupole().
|
inline |
Returns the previous torque of this stuntdouble.
Definition at line 539 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getPrevTrq().
|
inline |
Returns the previous velocity of this stuntdouble.
Definition at line 213 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getPrevVel().
|
inline |
Returns all of the properties in PropertyMap.
Definition at line 710 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getProperties().
|
inline |
Returns property.
propName | name of property |
Definition at line 720 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getPropertyByName().
|
inline |
Returns all names of properties.
Definition at line 702 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getPropertyNames().
|
inline |
Returns the current quaternion of this stuntdouble.
Definition at line 347 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getQ().
|
inline |
Returns the quaternion of this stuntdouble in specified snapshot.
snapshotNo |
Definition at line 354 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getQ().
|
inline |
Returns the current quadrupole tensor of this stuntDouble.
Definition at line 453 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getQuadrupole().
|
inline |
Returns the quadrupole tensor of this stuntDouble in specified snapshot.
snapshotNo |
Definition at line 461 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getQuadrupole().
|
inline |
Definition at line 107 of file ConstraintElem.hpp.
|
inline |
Returns the current torque of this stuntdouble.
Definition at line 545 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getTrq().
|
inline |
Returns the torque of this stuntdouble in specified snapshot.
snapshotNo |
Definition at line 553 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getTrq().
|
inline |
Returns the name of this stuntdouble.
Definition at line 650 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getType().
|
inline |
Returns the current velocity of this stuntdouble.
Definition at line 219 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getVel().
|
inline |
Returns the velocity of this stuntdouble in specified snapshot.
snapshotNo |
Definition at line 227 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::getVel().
|
inline |
Tests if this stuntdouble is an atom.
Definition at line 145 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::isAtom().
|
inline |
Tests if this stuntdouble is a directional one.
Definition at line 165 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::isDirectional().
|
inline |
Tests if this stuntdouble is an directional atom.
Definition at line 152 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::isDirectional().
|
inline |
Tests the if this stuntdouble is a linear rigidbody.
Definition at line 628 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::isLinear().
|
inline |
Tests if this stuntdouble is a rigid body.
Definition at line 158 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::isRigidBody().
Converts a lab fixed vector to a body fixed vector.
v | lab fixed vector |
Definition at line 660 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::lab2Body().
|
inline |
Returns the linear axis of the rigidbody, atom and directional atom will always return -1.
Definition at line 638 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::linearAxis().
|
inline |
Removes property from PropertyMap by name.
propName | the name of property to be removed |
Definition at line 694 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::removeProperty().
|
inline |
Sets the current rotation matrix of this stuntdouble.
a | new rotation matrix |
Definition at line 283 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setA().
|
inline |
Sets the rotation matrix of this stuntdouble in specified snapshot.
a | rotation matrix to be set |
snapshotNo |
Definition at line 291 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setA().
|
inline |
Sets the current euler angles of this stuntdouble.
euler | new euler angles |
Definition at line 410 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setEuler().
|
inline |
Sets the euler angles of this stuntdouble in specified snapshot.
euler | euler angles to be set |
snapshotNo |
Definition at line 419 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setEuler().
|
inline |
Sets the current force of this stuntdouble.
frc | new force |
Definition at line 497 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setFrc().
|
inline |
Sets the force of this stuntdouble in specified snapshot.
frc | force to be set |
snapshotNo |
Definition at line 506 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setFrc().
|
inline |
Sets the global index of this stuntRealType.
index | new global index to be set |
Definition at line 119 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setGlobalIndex().
|
inline |
Sets the current angular momentum of this stuntdouble (body-fixed).
angMom | new angular momentum |
Definition at line 324 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setJ().
|
inline |
Sets the angular momentum of this stuntdouble in specified snapshot(body-fixed).
angMom | angular momentum to be set |
snapshotNo |
Definition at line 333 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setJ().
|
inline |
Sets the local index of this stuntdouble.
index | new index to be set |
Definition at line 131 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setLocalIndex().
|
inline |
Sets the mass of this stuntdoulbe.
mass | the mass to be set |
Definition at line 647 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setMass().
|
inline |
Definition at line 102 of file ConstraintElem.hpp.
|
inline |
Definition at line 105 of file ConstraintElem.hpp.
|
inline |
Sets the current position of this stuntdouble.
pos | new position |
Definition at line 197 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setPos().
|
inline |
Sets the position of this stuntdouble in specified snapshot.
pos | position to be set |
snapshotNo |
Definition at line 205 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setPos().
|
inline |
Sets the previous rotation matrix of this stuntdouble.
a | new rotation matrix |
Definition at line 277 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setPrevA().
|
inline |
Sets the previous euler angles of this stuntRealType.
euler | new euler angles |
Definition at line 404 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setPrevEuler().
|
inline |
Sets the previous force of this stuntdouble.
frc | new force |
Definition at line 491 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setPrevFrc().
|
inline |
Sets the previous angular momentum of this stuntdouble (body-fixed).
angMom | new angular momentum |
Definition at line 318 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setPrevJ().
|
inline |
Sets the previous position of this stuntdouble.
pos | new position |
Definition at line 191 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setPrevPos().
|
inline |
Sets the previous quaternion of this stuntdouble.
q | new quaternion |
Definition at line 361 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setPrevQ().
|
inline |
Sets the previous torque of this stuntdouble.
trq | new torque |
Definition at line 561 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setPrevTrq().
|
inline |
Sets the previous velocity of this stuntdouble.
vel | new velocity |
Definition at line 234 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setPrevVel().
|
inline |
Sets the current quaternion of this stuntdouble.
q | new quaternion |
Definition at line 368 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setQ().
|
inline |
Sets the quaternion of this stuntdouble in specified snapshot.
q | quaternion to be set |
snapshotNo |
Definition at line 377 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setQ().
|
inline |
Sets the Snapshot Manager of this stuntdouble.
Definition at line 136 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setSnapshotManager().
|
inline |
Sets the current torque of this stuntdouble.
trq | new torque |
Definition at line 567 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setTrq().
|
inline |
Sets the torque of this stuntdouble in specified snapshot.
trq | torque to be set |
snapshotNo |
Definition at line 576 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setTrq().
|
inline |
Sets the name of this stuntRealType.
Definition at line 653 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setType().
|
inline |
Sets the current velocity of this stuntdouble.
vel | new velocity |
Definition at line 240 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setVel().
|
inline |
Sets the velocity of this stuntdouble in specified snapshot.
vel | velocity to be set |
snapshotNo |
Definition at line 248 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::setVel().
|
inline |
Set the force of this stuntdouble to zero.
Definition at line 606 of file ConstraintElem.hpp.
References OpenMD::StuntDouble::zeroForcesAndTorques().