--- trunk/OOPSE/libmdtools/Atom.cpp 2004/04/12 20:32:20 1097 +++ trunk/OOPSE/libmdtools/Atom.cpp 2004/04/19 22:13:01 1125 @@ -12,6 +12,7 @@ Atom::Atom(int theIndex, SimState* theConfig) { hasCoords = false; has_dipole = 0; + has_charge = 0; index = theIndex; offset = 0; @@ -181,3 +182,8 @@ void Atom::zeroForces( void ){ simError(); } } + +void Atom::accept(BaseVisitor* v){ + v->visit(this); +} +