| 321 |
|
|
| 322 |
|
if (!have_tau_barostat) { |
| 323 |
|
sprintf( painCave.errMsg, |
| 324 |
< |
"NPT error: If you use the NPT\n" |
| 325 |
< |
" integrator, you must set tauBarostat.\n"); |
| 324 |
> |
"If you use the NPT integrator, you must set tauBarostat.\n"); |
| 325 |
> |
painCave.severity = OOPSE_ERROR; |
| 326 |
|
painCave.isFatal = 1; |
| 327 |
|
simError(); |
| 328 |
|
return -1; |
| 330 |
|
|
| 331 |
|
if (!have_chi_tolerance) { |
| 332 |
|
sprintf( painCave.errMsg, |
| 333 |
< |
"NPT warning: setting chi tolerance to 1e-6\n"); |
| 333 |
> |
"Setting chi tolerance to 1e-6 in NPT integrator\n"); |
| 334 |
|
chiTolerance = 1e-6; |
| 335 |
|
have_chi_tolerance = 1; |
| 336 |
+ |
painCave.severity = OOPSE_INFO; |
| 337 |
|
painCave.isFatal = 0; |
| 338 |
|
simError(); |
| 339 |
|
} |
| 340 |
|
|
| 341 |
|
if (!have_eta_tolerance) { |
| 342 |
|
sprintf( painCave.errMsg, |
| 343 |
< |
"NPT warning: setting eta tolerance to 1e-6\n"); |
| 343 |
> |
"Setting eta tolerance to 1e-6 in NPT integrator"); |
| 344 |
|
etaTolerance = 1e-6; |
| 345 |
|
have_eta_tolerance = 1; |
| 346 |
+ |
painCave.severity = OOPSE_INFO; |
| 347 |
|
painCave.isFatal = 0; |
| 348 |
|
simError(); |
| 349 |
|
} |