52#ifndef PRIMITIVES_ATOM_HPP
53#define PRIMITIVES_ATOM_HPP
56#include "types/AtomType.hpp"
63 virtual std::string
getType() {
return atomType_->getName(); }
86 bool isCharge() {
return atomType_->isCharge(); }
88 bool isDirectional() {
return atomType_->isDirectional(); }
90 bool isDipole() {
return atomType_->isDipole(); }
92 bool isMultipole() {
return atomType_->isMultipole(); }
94 bool isGayBerne() {
return atomType_->isGayBerne(); }
96 bool isSticky() {
return atomType_->isSticky(); }
98 bool isShape() {
return atomType_->isShape(); }
100 bool isMetal() {
return atomType_->isMetal(); }
102 bool isFluctuatingCharge() {
return atomType_->isFluctuatingCharge(); }
104 int getIdent() {
return atomType_->getIdent(); }
106 RealType getChargeMass() {
return chargeMass_; }
108 void setChargeMass(RealType cm) { chargeMass_ = cm; }
112 RealType chargeMass_;
virtual std::string getType()
Returns the name of this stuntDouble.
virtual std::vector< RealType > getGrad()
Returns the gradient of this stuntdouble.
virtual Mat3x3d getI()
Returns the inertia tensor of this stuntdouble.
virtual void accept(BaseVisitor *v)
AtomType * getAtomType()
Returns the AtomType of this Atom.
AtomType is what OpenMD looks to for unchanging data about an atom.
"Don't move, or you're dead! Stand up! Captain, we've got them!"
This basic Periodic Table class was originally taken from the data.cpp file in OpenBabel.