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

Comparing trunk/OOPSE/libmdtools/Atom.hpp (file contents):
Revision 1113 by tim, Thu Apr 15 16:18:26 2004 UTC vs.
Revision 1452 by tim, Mon Aug 23 15:11:36 2004 UTC

# Line 7 | Line 7
7  
8   #include "SimState.hpp"
9   #include "StuntDouble.hpp"
10 + #include "BaseVisitor.hpp"
11  
12   class Atom : public StuntDouble {
13   public:
# Line 23 | Line 24 | class Atom : public StuntDouble { (public)
24    void setVel( double theV[3] );
25  
26    void getFrc( double theF[3] );
27 +  void setFrc( double theF[3] );  
28    void addFrc( double theF[3] );
29  
30    virtual void zeroForces();
# Line 50 | Line 52 | class Atom : public StuntDouble { (public)
52    void setHasCharge(int value) {has_charge = value;}
53    int hasCharge(void) {return has_charge;}
54  
55 +
56 +  virtual void accept(BaseVisitor* v) {v->visit(this);}
57 +  
58   protected:
59    
60    SimState* myConfig;
# Line 61 | Line 66 | class Atom : public StuntDouble { (public)
66    double* Amat; // the rotation matrix
67    double* mu;   // the array of dipole moments
68    double* ul;   // the lab frame unit directional vector
69 +  double* quat; // the quaternion array
70  
71 +  double zAngle; // the rotation about the z-axis ( body-fixed )
72 +
73    double c_mass; /* the mass of the atom in amu */
74  
75    int index; /* set the atom's index */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines