Commit d165f1a
committed
Move CheckNan to end of loop on stages in timeIntegrator
CheckNan was previously located after EvolveStage. However, EvolveStage
updates the conservative variables and CheckNan checks the primitive
variables. This reports the detection of a NaN to the next cycle. By
moving CheckNan to the end of the loop on stages in timeIntegrator,
so after the ConsToPrim, this PR ensures that we detect the NaN at
the right cycle.1 parent dc80444 commit d165f1a
1 file changed
Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | 304 | | |
313 | 305 | | |
314 | 306 | | |
| |||
347 | 339 | | |
348 | 340 | | |
349 | 341 | | |
350 | | - | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| |||
0 commit comments