| 295 |
|
} |
| 296 |
|
} |
| 297 |
|
|
| 298 |
< |
int NPTi::readyCheck() { |
| 298 |
> |
int NPTf::readyCheck() { |
| 299 |
|
|
| 300 |
|
// First check to see if we have a target temperature. |
| 301 |
|
// Not having one is fatal. |
| 302 |
|
|
| 303 |
|
if (!have_target_temp) { |
| 304 |
|
sprintf( painCave.errMsg, |
| 305 |
< |
"NPTi error: You can't use the NPTi integrator\n" |
| 305 |
> |
"NPTf error: You can't use the NPTf integrator\n" |
| 306 |
|
" without a targetTemp!\n" |
| 307 |
|
); |
| 308 |
|
painCave.isFatal = 1; |
| 312 |
|
|
| 313 |
|
if (!have_target_pressure) { |
| 314 |
|
sprintf( painCave.errMsg, |
| 315 |
< |
"NPTi error: You can't use the NPTi integrator\n" |
| 315 |
> |
"NPTf error: You can't use the NPTf integrator\n" |
| 316 |
|
" without a targetPressure!\n" |
| 317 |
|
); |
| 318 |
|
painCave.isFatal = 1; |
| 324 |
|
|
| 325 |
|
if (!have_tau_thermostat) { |
| 326 |
|
sprintf( painCave.errMsg, |
| 327 |
< |
"NPTi error: If you use the NPTi\n" |
| 327 |
> |
"NPTf error: If you use the NPTf\n" |
| 328 |
|
" integrator, you must set tauThermostat.\n"); |
| 329 |
|
painCave.isFatal = 1; |
| 330 |
|
simError(); |
| 335 |
|
|
| 336 |
|
if (!have_tau_barostat) { |
| 337 |
|
sprintf( painCave.errMsg, |
| 338 |
< |
"NPTi error: If you use the NPTi\n" |
| 338 |
> |
"NPTf error: If you use the NPTf\n" |
| 339 |
|
" integrator, you must set tauBarostat.\n"); |
| 340 |
|
painCave.isFatal = 1; |
| 341 |
|
simError(); |