--- trunk/OOPSE/libmdtools/SimInfo.cpp 2003/11/21 19:31:05 872 +++ trunk/OOPSE/libmdtools/SimInfo.cpp 2003/11/21 20:10:02 874 @@ -565,8 +565,14 @@ void SimInfo::checkCutOffs( void ){ if( rCut > maxCutoff ){ sprintf( painCave.errMsg, "Box size is too small for the long range cutoff radius, " - "%lf, at time %lf\n", - rCut, currentTime ); + "%G, at time %G\n" + " [ %G %G %G ]\n" + " [ %G %G %G ]\n" + " [ %G %G %G ]\n", + rCut, currentTime, + Hmat[0][0], Hmat[0][1], Hmat[0][2], + Hmat[1][0], Hmat[1][1], Hmat[1][2], + Hmat[2][0], Hmat[2][1], Hmat[2][2]); painCave.isFatal = 1; simError(); } @@ -575,8 +581,14 @@ void SimInfo::checkCutOffs( void ){ if( ecr > maxCutoff ){ sprintf( painCave.errMsg, "Box size is too small for the electrostatic cutoff radius, " - "%lf, at time %lf\n", - ecr, currentTime ); + "%G, at time %G\n" + " [ %G %G %G ]\n" + " [ %G %G %G ]\n" + " [ %G %G %G ]\n", + ecr, currentTime, + Hmat[0][0], Hmat[0][1], Hmat[0][2], + Hmat[1][0], Hmat[1][1], Hmat[1][2], + Hmat[2][0], Hmat[2][1], Hmat[2][2]); painCave.isFatal = 1; simError(); }