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 435 by mmeineke, Fri Mar 28 19:33:37 2003 UTC vs.
Revision 468 by gezelter, Mon Apr 7 16:56:38 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 33 | Line 33 | class Molecule{ (public)
33    ~Molecule( void );
34  
35    void initialize( molInit &theInit );
36 +
37 +  void setMyIndex( int theIndex ){ myIndex = theIndex;}
38  
39    int getNAtoms   ( void ) {return nAtoms;}
40    int getNBonds   ( void ) {return nBonds;}
# Line 55 | Line 57 | class Molecule{ (public)
57    double getPotential( void );
58    
59    void printMe( void );
58  
60  
61 +  void getCOM( double COM[3] );
62 +  void moveCOM( double delta[3] );
63 +  void getCOMvel( double mtot, double COMvel[3] );
64 +
65   private:
66  
67    int stampID;   // the ID in the BASS component stamp array
# Line 68 | Line 73 | class Molecule{ (public)
73    int nMembers;  // .. . . . . . .atoms (legacy code) . . .
74    int nExcludes; // . . . . .. .. excludes .. . .
75  
76 +  int myIndex; // mostly just for debug
77 +
78    Atom** myAtoms;     // the array of atoms
79    Bond** myBonds;     // arrays of all the short range interactions
80    Bend** myBends;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines