191 |
|
|
192 |
|
if( oldOrtho != orthoRhombic ){ |
193 |
|
|
194 |
< |
if( orthoRhombic ){ |
194 |
> |
if( orthoRhombic ) { |
195 |
|
sprintf( painCave.errMsg, |
196 |
|
"OOPSE is switching from the default Non-Orthorhombic\n" |
197 |
|
"\tto the faster Orthorhombic periodic boundary computations.\n" |
199 |
|
"\tNon-Orthorhombic computations, make the orthoBoxTolerance\n" |
200 |
|
"\tvariable ( currently set to %G ) smaller.\n", |
201 |
|
orthoTolerance); |
202 |
+ |
painCave.severity = OOPSE_INFO; |
203 |
|
simError(); |
204 |
|
} |
205 |
|
else { |
211 |
|
"\tthe Orthorhombic computations, make the orthoBoxTolerance\n" |
212 |
|
"\tvariable ( currently set to %G ) larger.\n", |
213 |
|
orthoTolerance); |
214 |
+ |
painCave.severity = OOPSE_WARNING; |
215 |
|
simError(); |
216 |
|
} |
217 |
|
} |
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 |
|
|
519 |
|
Hmat[0][0], Hmat[0][1], Hmat[0][2], |
520 |
|
Hmat[1][0], Hmat[1][1], Hmat[1][2], |
521 |
|
Hmat[2][0], Hmat[2][1], Hmat[2][2]); |
522 |
+ |
painCave.severity = OOPSE_ERROR; |
523 |
|
painCave.isFatal = 1; |
524 |
|
simError(); |
525 |
|
} |
528 |
|
sprintf( painCave.errMsg, |
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; |
533 |
|
simError(); |
534 |
|
} |