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 424 by mmeineke, Thu Mar 27 20:36:16 2003 UTC vs.
Revision 452 by mmeineke, Thu Apr 3 22:19:21 2003 UTC

# Line 14 | Line 14 | typedef struct{
14    int nBends;    // . . . . .. . .bends . . . . .. .
15    int nTorsions; // .. . . .. . . torsions . . .. . .
16    int nOriented; // .. . . . .. . oriented atoms . . .
17 <  
17 >  int nExcludes; // . . .. . . . .exclude pairs.. . . .
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 32 | 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 53 | Line 56 | class Molecule{ (public)
56    void calcForces( void );
57    double getPotential( void );
58    
59 +  void printMe( void );
60  
61 +  void getCOM( double COM[3] );
62 +  void moveCOM( double delta[3] );
63 +
64   private:
65  
66    int stampID;   // the ID in the BASS component stamp array
# Line 65 | Line 72 | class Molecule{ (public)
72    int nMembers;  // .. . . . . . .atoms (legacy code) . . .
73    int nExcludes; // . . . . .. .. excludes .. . .
74  
75 +  int myIndex; // mostly just for debug
76 +
77    Atom** myAtoms;     // the array of atoms
78    Bond** myBonds;     // arrays of all the short range interactions
79    Bend** myBends;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines