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

Comparing trunk/OOPSE/libmdtools/Molecule.hpp (file contents):
Revision 438 by chuckv, Mon Mar 31 21:50:59 2003 UTC vs.
Revision 483 by gezelter, Wed Apr 9 04:06:43 2003 UTC

# Line 15 | Line 15 | typedef struct{
15    int nTorsions; // .. . . .. . . torsions . . .. . .
16    int nOriented; // .. . . . .. . oriented atoms . . .
17    int nExcludes; // . . .. . . . .exclude pairs.. . . .
18 <  
18 >
19    Atom** myAtoms;      // the array of atoms
20    Exclude** myExcludes;// the array of Excluded pairs
21    Bond** myBonds;      // arrays of all the short range interactions
# Line 57 | Line 57 | class Molecule{ (public)
57    double getPotential( void );
58    
59    void printMe( void );
60  
60  
61 +  void getCOM( double COM[3] );
62 +  void moveCOM( double delta[3] );
63 +  double getCOMvel( double COMvel[3] );
64 +
65 +  void atomicRollCall(int* molMembership);
66 +
67   private:
68  
69    int stampID;   // the ID in the BASS component stamp array
# Line 70 | Line 75 | class Molecule{ (public)
75    int nMembers;  // .. . . . . . .atoms (legacy code) . . .
76    int nExcludes; // . . . . .. .. excludes .. . .
77  
78 <  int myIndex; // mostly just for debug
78 >  int myIndex; // mostly just for debug (and for making pressure calcs work)
79  
80    Atom** myAtoms;     // the array of atoms
81    Bond** myBonds;     // arrays of all the short range interactions

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines