Commit e785f00
Checkpoint/Plotfile: Robust Bounds Calc
The calculation of the bounds in plotfiles (incl. checkpoints)
appears fishy. It relies on the order of the boxes in the
box array, which is not always pointing to a box on the
lower/upper bound of the simulation when load balancing is
used.
This can corrupt checkpoints (plotfiles) when writing, by
a) filtering out valid particles & fields and b) remembering
the wrong simulation meta-data for the simulation geometry
of fields/particles.
Co-authored-by: Andrew Myers <[email protected]>
Co-authored-by: Remi Lehe <[email protected]>
Co-authored-by: Davide Terzani <[email protected]>1 parent ef6e84c commit e785f00
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
767 | 770 | | |
768 | 771 | | |
769 | 772 | | |
770 | 773 | | |
771 | | - | |
| 774 | + | |
772 | 775 | | |
773 | | - | |
| 776 | + | |
774 | 777 | | |
775 | 778 | | |
776 | 779 | | |
| |||
0 commit comments