Commit b415648
authored
Fix moving-window subvolume field output (#5985)
At initialization of moving-window simulations, the diagnostic subvolume
is displaced along the direction of the moving window. This is done to
account for restarted simulations. However, the displacement is
calculated based on the trailing edge of the diagnostic subvolume rather
than the simulation volume. This causes a displacement error when the
trailing edges of the simulation volume and the diagnostic subvolume do
not coincide. This PR corrects the displacement calculation.1 parent cb36a3d commit b415648
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | | - | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
528 | 531 | | |
529 | 532 | | |
530 | 533 | | |
| |||
0 commit comments