ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/primitives/Atom.hpp
(Generate patch)

Comparing branches/development/src/primitives/Atom.hpp (file contents):
Revision 1710 by gezelter, Fri May 18 21:44:02 2012 UTC vs.
Revision 1715 by gezelter, Tue May 22 21:55:31 2012 UTC

# Line 115 | Line 115 | namespace OpenMD{
115        return atomType_->isMetal();
116      }
117  
118 +    bool isFluctuatingCharge() {
119 +      return atomType_->isFluctuatingCharge();
120 +    }
121 +
122      int getIdent() {
123        return atomType_->getIdent();
124      }
125      
126 +    RealType getChargeMass() {
127 +      return chargeMass_;
128 +    }
129 +
130 +    void setChargeMass(RealType cm) {
131 +      chargeMass_ = cm;
132 +    }
133 +
134    protected:
135      AtomType* atomType_;
136 +    RealType chargeMass_;
137    };
138    
139   }//namespace OpenMD

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines