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 423 by mmeineke, Thu Mar 27 20:12:15 2003 UTC vs.
Revision 438 by chuckv, Mon Mar 31 21:50:59 2003 UTC

# Line 14 | Line 14 | typedef struct{
14    int nBends;    // . . . . .. . .bends . . . . .. .
15    int nTorsions; // .. . . .. . . torsions . . .. . .
16    int nOriented; // .. . . . .. . oriented atoms . . .
17 +  int nExcludes; // . . .. . . . .exclude pairs.. . . .
18    
19    Atom** myAtoms;      // the array of atoms
20    Exclude** myExcludes;// the array of Excluded pairs
# 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 45 | Line 48 | class Molecule{ (public)
48    Atom**     getMyAtoms   ( void ) {return myAtoms;}
49    Bond**     getMyBonds   ( void ) {return myBonds;}
50    Bend**     getMyBends   ( void ) {return myBends;}
51 <  Torsions** getmyTorsions( void ) {return myTorsions;}
52 <  Exclude**  getmyExcludes( void ) {return myExcludes;}
51 >  Torsion**  getMyTorsions( void ) {return myTorsions;}
52 >  Exclude**  getMyExcludes( void ) {return myExcludes;}
53    
54    void setStampID( int info ) {stampID = info;}
55  
56    void calcForces( void );
57    double getPotential( void );
58    
59 +  void printMe( void );
60 +  
61  
62   private:
63  
# Line 65 | Line 70 | class Molecule{ (public)
70    int nMembers;  // .. . . . . . .atoms (legacy code) . . .
71    int nExcludes; // . . . . .. .. excludes .. . .
72  
73 +  int myIndex; // mostly just for debug
74 +
75    Atom** myAtoms;     // the array of atoms
76    Bond** myBonds;     // arrays of all the short range interactions
77    Bend** myBends;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines