| # | Line 14 | Line 14 | Atom::Atom(int theIndex, SimState* theConfig) { | |
|---|---|---|
| 14 | has_dipole = 0; | |
| 15 | is_VDW = 0; | |
| 16 | is_LJ = 0; | |
| 17 | + | is_charged = 0; |
| 18 | ||
| 19 | index = theIndex; | |
| 20 | offset = 0; | |
| # | Line 55 | Line 56 | void Atom::setCoords(void){ | |
| 56 | else{ | |
| 57 | sprintf( painCave.errMsg, | |
| 58 | "Attempted to set Atom %d coordinates with an unallocated " | |
| 59 | < | "SimState object.\n" ); |
| 59 | > | "SimState object.\n", index ); |
| 60 | painCave.isFatal = 1; | |
| 61 | simError(); | |
| 62 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |