| # | 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 | + | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |