|
OpenMD 3.1
Molecular Dynamics in the Open
|
Inheritance diagram for OpenMD::Inversion:Public Member Functions | |
| Inversion (Atom *atom1, Atom *atom2, Atom *atom3, Atom *atom4, InversionType *it) | |
| virtual void | calcForce (RealType &angle, bool doParticlePot) |
| RealType | getValue (int snapshotNo) |
| Returns the value of this ShortRangeInteraction in specified snapshot. | |
| RealType | getPotential () |
| Atom * | getAtomA () |
| Atom * | getAtomB () |
| Atom * | getAtomC () |
| Atom * | getAtomD () |
| InversionType * | getInversionType () |
| virtual std::string | getName () |
| Returns the name of this ShortRangeInteraction. | |
| virtual void | setName (const std::string &name) |
| Sets the name of this inversion 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. | |
Protected Attributes | |
| InversionType * | inversionType_ |
| InversionKey | inversionKey_ |
| std::string | name_ |
| RealType | potential_ |
Protected Attributes inherited from OpenMD::ShortRangeInteraction | |
| SnapshotManager * | snapshotMan_ |
| std::vector< Atom * > | atoms_ |
| int | globalIndex_ |
| int | localIndex_ |
Additional Inherited Members | |
Protected Member Functions inherited from OpenMD::ShortRangeInteraction | |
| ShortRangeInteraction (const ShortRangeInteraction &sri) | |
| ShortRangeInteraction & | operator= (const ShortRangeInteraction &sri) |
Definition at line 74 of file Inversion.hpp.
| OpenMD::Inversion::Inversion | ( | Atom * | atom1, |
| Atom * | atom2, | ||
| Atom * | atom3, | ||
| Atom * | atom4, | ||
| InversionType * | it ) |
Definition at line 55 of file Inversion.cpp.
|
inlinevirtual |
Definition at line 81 of file Inversion.hpp.
|
inlinevirtual |
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 |
Implements OpenMD::ShortRangeInteraction.
Definition at line 131 of file Inversion.hpp.
|
virtual |
Definition at line 68 of file Inversion.cpp.
|
inline |
Definition at line 118 of file Inversion.hpp.
|
inline |
Definition at line 120 of file Inversion.hpp.
|
inline |
Definition at line 122 of file Inversion.hpp.
|
inline |
Definition at line 124 of file Inversion.hpp.
|
inline |
Definition at line 126 of file Inversion.hpp.
|
inlinevirtual |
Returns the name of this ShortRangeInteraction.
Implements OpenMD::ShortRangeInteraction.
Definition at line 127 of file Inversion.hpp.
|
inline |
Definition at line 116 of file Inversion.hpp.
|
virtual |
Returns the previous value of this ShortRangeInteraction.
Reimplemented from OpenMD::ShortRangeInteraction.
Definition at line 123 of file ShortRangeInteraction.cpp.
|
virtual |
Returns the current value of this ShortRangeInteraction.
Reimplemented from OpenMD::ShortRangeInteraction.
Definition at line 129 of file ShortRangeInteraction.cpp.
|
inlinevirtual |
Returns the value of this ShortRangeInteraction in specified snapshot.
| snapshotNo |
Implements OpenMD::ShortRangeInteraction.
Definition at line 84 of file Inversion.hpp.
References OpenMD::cross(), OpenMD::dot(), OpenMD::Vector< Real, Dim >::normalize(), and OpenMD::Snapshot::wrapVector().
|
inlinevirtual |
Sets the name of this inversion for selections.
Reimplemented from OpenMD::ShortRangeInteraction.
Definition at line 129 of file Inversion.hpp.
|
protected |
Definition at line 135 of file Inversion.hpp.
|
protected |
Definition at line 134 of file Inversion.hpp.
|
protected |
Definition at line 136 of file Inversion.hpp.
|
protected |
Definition at line 138 of file Inversion.hpp.