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

Comparing trunk/OOPSE/libmdtools/SimInfo.hpp (file contents):
Revision 542 by mmeineke, Fri May 30 21:31:48 2003 UTC vs.
Revision 572 by mmeineke, Wed Jul 2 21:26:55 2003 UTC

# Line 56 | Line 56 | class SimInfo{ (public)
56  
57    double lrPot; // the potential energy from the long range calculations.
58  
59 <  double box_x, box_y, box_z; // the periodic boundry conditions
59 >  double Hmat[9]; // the periodic boundry conditions. The Hmat is the
60 >                  // column vectors of the x, y, and z box vectors.
61 >                  //
62 >                  //   h1  h2  h3
63 >                  // [ Xx  Yx  Zx ]
64 >                  // [ Xy  Yy  Zy ]
65 >                  // [ Xz  Yz  Zz ]
66 >                  //  
67 >                  // to preserve compatibility with Fortran the
68 >                  // ordering in the array is as follows:
69 >                  //
70 >                  // [ 0 3 6 ]
71 >                  // [ 1 4 7 ]
72 >                  // [ 2 5 8 ]
73 >
74 >  double HmatI[9]; // the inverted Hmat;
75 >  double boxLx, boxLy, boxLz; // the box Lengths
76 >  double boxVol;
77 >  int orthoRhombic;
78 >  
79 >
80 >
81    double rList, rCut; // variables for the neighborlist
82    
83    int usePBC; // whether we use periodic boundry conditions.
# Line 109 | Line 130 | class SimInfo{ (public)
130    int getNDFraw();
131  
132    void setBox( double newBox[3] );
133 <  void getBox( double theBox[3] );
133 >  void setBoxM( double newBox[9] );
134 >  void getBoxM( double theBox[9] );
135  
136 +  void wrapVector( double thePos[3] );
137 +
138   private:
139    
140 +  void calcHmatI( void );
141 +  void calcBoxL();
142 +
143    // private function to initialize the fortran side of the simulation
144    void (*setFsimulation) setFortranSimList;
145  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines