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 1220 by gezelter, Wed Jun 2 14:21:54 2004 UTC vs.
Revision 1221 by chrisfen, Wed Jun 2 14:56:18 2004 UTC

# Line 193 | Line 193 | void SimInfo::calcHmatInv( void ) {
193      
194      if( orthoRhombic ) {
195        sprintf( painCave.errMsg,
196 <               "\n\tOOPSE is switching from the default Non-Orthorhombic\n"
196 >               "OOPSE is switching from the default Non-Orthorhombic\n"
197                 "\tto the faster Orthorhombic periodic boundary computations.\n"
198                 "\tThis is usually a good thing, but if you wan't the\n"
199                 "\tNon-Orthorhombic computations, make the orthoBoxTolerance\n"
# Line 204 | Line 204 | void SimInfo::calcHmatInv( void ) {
204      }
205      else {
206        sprintf( painCave.errMsg,
207 <               "\n\tOOPSE is switching from the faster Orthorhombic to the more\n"
207 >               "OOPSE is switching from the faster Orthorhombic to the more\n"
208                 "\tflexible Non-Orthorhombic periodic boundary computations.\n"
209                 "\tThis is usually because the box has deformed under\n"
210                 "\tNPTf integration. If you wan't to live on the edge with\n"
# Line 468 | Line 468 | void SimInfo::refreshSim(){
468      sprintf( painCave.errMsg,
469               "There was an error setting the simulation information in fortran.\n" );
470      painCave.isFatal = 1;
471 +    painCave.severity = OOPSE_ERROR;
472      simError();
473    }
474    
# Line 506 | Line 507 | void SimInfo::checkCutOffs( void ){
507      
508      if( rCut > maxCutoff ){
509        sprintf( painCave.errMsg,
510 <               "\n\tcutoffRadius is too large for the current periodic box.\n"
510 >               "cutoffRadius is too large for the current periodic box.\n"
511                 "\tCurrent Value of cutoffRadius = %G at time %G\n "
512                 "\tThis is larger than half of at least one of the\n"
513                 "\tperiodic box vectors.  Right now, the Box matrix is:\n"
# Line 525 | Line 526 | void SimInfo::checkCutOffs( void ){
526    } else {
527      // initialize this stuff before using it, OK?
528      sprintf( painCave.errMsg,
529 <             "\n\tTrying to check cutoffs without a box.\n"
529 >             "Trying to check cutoffs without a box.\n"
530               "\tOOPSE should have better programmers than that.\n" );
531      painCave.severity = OOPSE_ERROR;
532      painCave.isFatal = 1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines