--- trunk/OOPSE/libmdtools/SimInfo.cpp 2003/07/02 21:26:55 572 +++ trunk/OOPSE/libmdtools/SimInfo.cpp 2003/07/08 20:56:10 574 @@ -170,8 +170,18 @@ void SimInfo::getBoxM (double theBox[9]) { int i; for(i=0; i<9; i++) theBox[i] = Hmat[i]; } - + + +void SimInfo::scaleBox(double scale) { + double theBox[9]; + int i; + + for(i=0; i<9; i++) theBox[i] = Hmat[i]*scale; + setBoxM(theBox); + +} + void SimInfo::calcHmatI( void ) { double C[3][3];