ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/headers/Atom.hpp
(Generate patch)

Comparing trunk/mdtools/headers/Atom.hpp (file contents):
Revision 30 by mmeineke, Tue Jul 16 21:10:49 2002 UTC vs.
Revision 117 by mmeineke, Tue Sep 24 22:10:55 2002 UTC

# 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    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines