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

#include <AtomVisitor.hpp>

Inheritance diagram for OpenMD::BaseAtomVisitor:
OpenMD::BaseVisitor OpenMD::DefaultAtomVisitor OpenMD::ReplacementVisitor OpenMD::GBheadVisitor OpenMD::GBtailVisitor OpenMD::SSDAtomVisitor

Public Member Functions

virtual void visit (Atom *atom)
 
virtual void visit (DirectionalAtom *datom)
 
virtual void visit (RigidBody *rb)
 
void setVisited (Atom *atom)
 
bool isVisited (Atom *atom)
 
- Public Member Functions inherited from OpenMD::BaseVisitor
virtual ~BaseVisitor ()
 
virtual void visit (Bond *bond)
 
virtual void visit (Bend *bend)
 
virtual void visit (Torsion *torsion)
 
virtual void visit (Inversion *inversion)
 
virtual void update ()
 
const std::string & getVisitorName ()
 
virtual const std::string toString ()
 

Protected Member Functions

 BaseAtomVisitor (SimInfo *info)
 
- Protected Member Functions inherited from OpenMD::BaseVisitor
 BaseVisitor ()
 

Protected Attributes

SimInfoinfo
 
int storageLayout_
 
- Protected Attributes inherited from OpenMD::BaseVisitor
std::string visitorName
 

Detailed Description

Todo:
document

Definition at line 57 of file AtomVisitor.hpp.

Constructor & Destructor Documentation

◆ BaseAtomVisitor()

OpenMD::BaseAtomVisitor::BaseAtomVisitor ( SimInfo info)
protected

Definition at line 54 of file AtomVisitor.cpp.

References OpenMD::SimInfo::getStorageLayout(), and storageLayout_.

Referenced by visit().

Member Function Documentation

◆ isVisited()

bool OpenMD::BaseAtomVisitor::isVisited ( Atom atom)

Definition at line 80 of file AtomVisitor.cpp.

References OpenMD::StuntDouble::getPropertyByName().

Referenced by visit(), and OpenMD::DefaultAtomVisitor::visit().

◆ setVisited()

◆ visit() [1/3]

virtual void OpenMD::BaseAtomVisitor::visit ( Atom atom)
inlinevirtual

Reimplemented from OpenMD::BaseVisitor.

Reimplemented in OpenMD::DefaultAtomVisitor, and OpenMD::ReplacementVisitor.

Definition at line 60 of file AtomVisitor.hpp.

Referenced by OpenMD::DefaultAtomVisitor::DefaultAtomVisitor(), and visit().

◆ visit() [2/3]

virtual void OpenMD::BaseAtomVisitor::visit ( DirectionalAtom datom)
inlinevirtual

Reimplemented from OpenMD::BaseVisitor.

Reimplemented in OpenMD::DefaultAtomVisitor, and OpenMD::ReplacementVisitor.

Definition at line 61 of file AtomVisitor.hpp.

References BaseAtomVisitor(), info, isVisited(), setVisited(), and visit().

◆ visit() [3/3]

void OpenMD::BaseAtomVisitor::visit ( RigidBody rb)
virtual

Reimplemented from OpenMD::BaseVisitor.

Reimplemented in OpenMD::DefaultAtomVisitor, and OpenMD::ReplacementVisitor.

Definition at line 58 of file AtomVisitor.cpp.

Member Data Documentation

◆ info

SimInfo* OpenMD::BaseAtomVisitor::info
protected

Definition at line 68 of file AtomVisitor.hpp.

Referenced by visit().

◆ storageLayout_

int OpenMD::BaseAtomVisitor::storageLayout_
protected

Definition at line 69 of file AtomVisitor.hpp.

Referenced by BaseAtomVisitor(), and OpenMD::DefaultAtomVisitor::visit().


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