| # | Line 262 | Line 262 | void Thermo::velocitize() { | |
|---|---|---|
| 262 | double kebar; | |
| 263 | double temperature; | |
| 264 | int nobj; | |
| 265 | + | |
| 266 | + | if (!info->have_target_temp) { |
| 267 | + | sprintf( painCave.errMsg, |
| 268 | + | "You can't resample the velocities without a targetTemp!\n" |
| 269 | + | ); |
| 270 | + | painCave.isFatal = 1; |
| 271 | + | painCave.severity = OOPSE_ERROR; |
| 272 | + | simError(); |
| 273 | + | return; |
| 274 | + | } |
| 275 | ||
| 276 | nobj = info->integrableObjects.size(); | |
| 277 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |