OpenMD 3.1
Molecular Dynamics in the Open
|
Public Member Functions | |
GhostTorsion (Atom *atom1, Atom *atom2, DirectionalAtom *ghostAtom, TorsionType *tt) | |
virtual void | calcForce (RealType &angle, bool doParticlePot) |
Public Member Functions inherited from OpenMD::Torsion | |
Torsion (Atom *atom1, Atom *atom2, Atom *atom3, Atom *atom4, TorsionType *tt) | |
RealType | getValue (int snapshotNo) |
Returns the value of this ShortRangeInteraction in specified snapshot. | |
RealType | getPotential () |
Atom * | getAtomA () |
Atom * | getAtomB () |
Atom * | getAtomC () |
Atom * | getAtomD () |
TorsionType * | getTorsionType () |
virtual std::string | getName () |
Returns the name of this ShortRangeInteraction. | |
virtual void | setName (const std::string &name) |
Sets the name of this torsion for selections. | |
void | accept (BaseVisitor *v) |
virtual RealType | getPrevValue () |
Returns the previous value of this ShortRangeInteraction. | |
virtual RealType | getValue () |
Returns the current value of this ShortRangeInteraction. | |
Public Member Functions inherited from OpenMD::ShortRangeInteraction | |
int | getGlobalIndex () |
Returns the global index of this ShortRangeInteraction. | |
void | setGlobalIndex (int index) |
Sets the global index of this ShortRangeInteraction. | |
int | getLocalIndex () |
Returns the local index of this ShortRangeInteraction. | |
void | setLocalIndex (int index) |
Sets the local index of this ShortRangeInteraction. | |
void | setSnapshotManager (SnapshotManager *sman) |
Sets the Snapshot Manager of this ShortRangeInteraction. | |
virtual std::vector< Atom * > | getAtoms () |
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. | |
Additional Inherited Members | |
Protected Member Functions inherited from OpenMD::ShortRangeInteraction | |
ShortRangeInteraction (const ShortRangeInteraction &sri) | |
ShortRangeInteraction & | operator= (const ShortRangeInteraction &sri) |
Protected Attributes inherited from OpenMD::Torsion | |
TorsionType * | torsionType_ |
std::string | name_ |
RealType | potential_ |
Protected Attributes inherited from OpenMD::ShortRangeInteraction | |
SnapshotManager * | snapshotMan_ |
std::vector< Atom * > | atoms_ |
int | globalIndex_ |
int | localIndex_ |
Definition at line 60 of file GhostTorsion.hpp.
OpenMD::GhostTorsion::GhostTorsion | ( | Atom * | atom1, |
Atom * | atom2, | ||
DirectionalAtom * | ghostAtom, | ||
TorsionType * | tt ) |
Definition at line 55 of file GhostTorsion.cpp.
|
virtual |
Reimplemented from OpenMD::Torsion.
Definition at line 59 of file GhostTorsion.cpp.