ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/Atom.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/Atom.cpp (file contents):
Revision 1097 by gezelter, Mon Apr 12 20:32:20 2004 UTC vs.
Revision 1125 by gezelter, Mon Apr 19 22:13:01 2004 UTC

# Line 12 | Line 12 | Atom::Atom(int theIndex, SimState* theConfig) {
12    hasCoords = false;
13  
14    has_dipole = 0;
15 +  has_charge = 0;
16    
17    index = theIndex;
18    offset = 0;
# Line 181 | Line 182 | void Atom::zeroForces( void ){
182      simError();
183    }
184   }
185 +
186 + void Atom::accept(BaseVisitor* v){
187 +  v->visit(this);
188 + }
189 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines