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

Comparing trunk/OOPSE/libmdtools/SimInfo.cpp (file contents):
Revision 597 by mmeineke, Mon Jul 14 21:28:54 2003 UTC vs.
Revision 617 by gezelter, Tue Jul 15 19:56:08 2003 UTC

# Line 77 | Line 77 | void SimInfo::setBoxM( double theBox[3][3] ){
77    for(i=0; i < 3; i++)
78      for (j=0; j < 3; j++) Hmat[i][j] = theBox[i][j];
79    
80 <  cerr
81 <    << "setting Hmat ->\n"
82 <    << "[ " << Hmat[0][0] << ", " << Hmat[0][1] << ", " << Hmat[0][2] << " ]\n"
83 <    << "[ " << Hmat[1][0] << ", " << Hmat[1][1] << ", " << Hmat[1][2] << " ]\n"
84 <    << "[ " << Hmat[2][0] << ", " << Hmat[2][1] << ", " << Hmat[2][2] << " ]\n";
80 >  //  cerr
81 >  // << "setting Hmat ->\n"
82 >  // << "[ " << Hmat[0][0] << ", " << Hmat[0][1] << ", " << Hmat[0][2] << " ]\n"
83 >  // << "[ " << Hmat[1][0] << ", " << Hmat[1][1] << ", " << Hmat[1][2] << " ]\n"
84 >  // << "[ " << Hmat[2][0] << ", " << Hmat[2][1] << ", " << Hmat[2][2] << " ]\n";
85  
86    calcBoxL();
87    calcHmatInv();
# Line 153 | Line 153 | void SimInfo::scaleBox(double scale) {
153    double theBox[3][3];
154    int i, j;
155  
156 <  cerr << "Scaling box by " << scale << "\n";
156 >  // cerr << "Scaling box by " << scale << "\n";
157  
158    for(i=0; i<3; i++)
159      for (j=0; j<3; j++) theBox[i][j] = Hmat[i][j]*scale;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines