| # | Line 12 | Line 12 | class Atom{ (public) | |
|---|---|---|
| 12 | is_VDW = 0; | |
| 13 | is_LJ = 0; | |
| 14 | } | |
| 15 | < | ~Atom() {} |
| 15 | > | virtual ~Atom() {} |
| 16 | ||
| 17 | double getX() const {return c_x;} | |
| 18 | double getY() const {return c_y;} | |
| # | Line 102 | Line 102 | class GeneralAtom : public Atom{ (public) | |
| 102 | ||
| 103 | public: | |
| 104 | GeneralAtom(){} | |
| 105 | < | ~GeneralAtom(){} |
| 105 | > | virtual ~GeneralAtom(){} |
| 106 | ||
| 107 | int isDirectional( void ){ return 0; } | |
| 108 | void zeroForces() { | |
| # | Line 114 | Line 114 | class DirectionalAtom : public Atom { (public) | |
| 114 | ||
| 115 | public: | |
| 116 | DirectionalAtom() { ssdIdentity = 0; } | |
| 117 | < | ~DirectionalAtom() {} |
| 117 | > | virtual ~DirectionalAtom() {} |
| 118 | ||
| 119 | int isDirectional(void) { return 1; } | |
| 120 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |