OpenMD 3.1
Molecular Dynamics in the Open
|
Replaces an atomic object with a collection atomic sites. More...
#include <ReplacementVisitor.hpp>
Public Member Functions | |
ReplacementVisitor (SimInfo *info) | |
void | visit (Atom *) |
void | visit (DirectionalAtom *datom) |
void | visit (RigidBody *) |
const std::string | toString () |
void | addReplacedAtomName (const std::string &repName) |
void | addSite (const std::string &name, const Vector3d &refPos) |
void | addSite (const std::string &name, const Vector3d &refPos, const Vector3d &refVec) |
virtual void | visit (Bond *) |
virtual void | visit (Bend *) |
virtual void | visit (Torsion *) |
virtual void | visit (Inversion *) |
Public Member Functions inherited from OpenMD::BaseAtomVisitor | |
void | setVisited (Atom *atom) |
bool | isVisited (Atom *atom) |
Public Member Functions inherited from OpenMD::BaseVisitor | |
virtual void | update () |
const std::string & | getVisitorName () |
Additional Inherited Members | |
Protected Member Functions inherited from OpenMD::BaseAtomVisitor | |
BaseAtomVisitor (SimInfo *info) | |
Protected Attributes inherited from OpenMD::BaseAtomVisitor | |
SimInfo * | info {nullptr} |
int | storageLayout_ |
Protected Attributes inherited from OpenMD::BaseVisitor | |
std::string | visitorName |
Replaces an atomic object with a collection atomic sites.
These sites are specified with reference location to the object, as well as a name.
Definition at line 62 of file ReplacementVisitor.hpp.
|
inline |
Definition at line 65 of file ReplacementVisitor.hpp.
void OpenMD::ReplacementVisitor::addReplacedAtomName | ( | const std::string & | repName | ) |
Definition at line 55 of file ReplacementVisitor.cpp.
void OpenMD::ReplacementVisitor::addSite | ( | const std::string & | name, |
const Vector3d & | refPos ) |
Definition at line 65 of file ReplacementVisitor.cpp.
void OpenMD::ReplacementVisitor::addSite | ( | const std::string & | name, |
const Vector3d & | refPos, | ||
const Vector3d & | refVec ) |
Definition at line 72 of file ReplacementVisitor.cpp.
|
virtual |
Reimplemented from OpenMD::BaseVisitor.
Definition at line 172 of file ReplacementVisitor.cpp.
|
inlinevirtual |
Reimplemented from OpenMD::BaseAtomVisitor.
Definition at line 70 of file ReplacementVisitor.hpp.
|
inlinevirtual |
Reimplemented from OpenMD::BaseAtomVisitor.
Definition at line 70 of file BaseVisitor.hpp.
|
inlinevirtual |
Reimplemented from OpenMD::BaseAtomVisitor.
Definition at line 69 of file BaseVisitor.hpp.
|
virtual |
Reimplemented from OpenMD::BaseAtomVisitor.
Definition at line 83 of file ReplacementVisitor.cpp.
|
inlinevirtual |
Reimplemented from OpenMD::BaseAtomVisitor.
Definition at line 72 of file BaseVisitor.hpp.
|
inlinevirtual |
Reimplemented from OpenMD::BaseAtomVisitor.
Definition at line 72 of file ReplacementVisitor.hpp.
|
inlinevirtual |
Reimplemented from OpenMD::BaseAtomVisitor.
Definition at line 71 of file BaseVisitor.hpp.