OpenMD  2.5
Molecular Dynamics in the Open
OpenMD::GhostBend Class Reference

#include <GhostBend.hpp>

Inheritance diagram for OpenMD::GhostBend:
OpenMD::Bend OpenMD::ShortRangeInteraction

Public Member Functions

 GhostBend (Atom *atom1, DirectionalAtom *ghostAtom, BendType *bt)
virtual void calcForce (RealType &angle, bool doParticlePot)
- Public Member Functions inherited from OpenMD::Bend
 Bend (Atom *atom1, Atom *atom2, Atom *atom3, BendType *bt)
virtual ~Bend ()
RealType getValue (int snapshotNo)
RealType getPotential ()
AtomgetAtomA ()
AtomgetAtomB ()
AtomgetAtomC ()
BendTypegetBendType ()
virtual std::string getName ()
virtual void setName (const std::string &name)
void accept (BaseVisitor *v)
- Public Member Functions inherited from OpenMD::ShortRangeInteraction
virtual ~ShortRangeInteraction ()
int getGlobalIndex ()
void setGlobalIndex (int index)
int getLocalIndex ()
void setLocalIndex (int index)
void setSnapshotManager (SnapshotManager *sman)
virtual RealType getPrevValue ()
virtual RealType getValue ()
virtual std::vector< Atom * > getAtoms ()
void addProperty (GenericData *genData)
void removeProperty (const std::string &propName)
void clearProperties ()
std::vector< std::string > getPropertyNames ()
std::vector< GenericData * > getProperties ()
GenericDatagetPropertyByName (const std::string &propName)

Additional Inherited Members

- Protected Member Functions inherited from OpenMD::ShortRangeInteraction
 ShortRangeInteraction ()
 ShortRangeInteraction (const ShortRangeInteraction &sri)
ShortRangeInteractionoperator= (const ShortRangeInteraction &sri)
- Protected Attributes inherited from OpenMD::Bend
RealType potential_
std::string name_
- Protected Attributes inherited from OpenMD::ShortRangeInteraction
std::vector< Atom * > atoms_
int globalIndex_
int localIndex_

Detailed Description

Definition at line 59 of file GhostBend.hpp.

Constructor & Destructor Documentation

◆ GhostBend()

OpenMD::GhostBend::GhostBend ( Atom atom1,
DirectionalAtom ghostAtom,
BendType bt 

Definition at line 61 of file GhostBend.hpp.

References calcForce().

Member Function Documentation

◆ calcForce()

The documentation for this class was generated from the following files: