diff options
author | 2020-09-04 16:20:54 -0700 | |
---|---|---|
committer | 2020-09-04 16:20:54 -0700 | |
commit | 9cf8bd4c8438ae1c8197284c1da05e029061d16c (patch) | |
tree | 260cbdda8b4437cacfbd5434dd6a29b6681a2ec8 /Source/Parallelization/GuardCellManager.cpp | |
parent | 7d2a70815a1f0aad45af8503fd007f49c1a660df (diff) | |
download | WarpX-9cf8bd4c8438ae1c8197284c1da05e029061d16c.tar.gz WarpX-9cf8bd4c8438ae1c8197284c1da05e029061d16c.tar.zst WarpX-9cf8bd4c8438ae1c8197284c1da05e029061d16c.zip |
openPMD Mesh: Fix grid offset/spacing (#1291)
Mesh output annotation for grid spacing and offset in openPMD was
annotated in inverse order. This made spacings appear off when
using a moving window and/or non-cubic cells.
This fixes it by writing ordered meta-data arrays in C-like order
(slowest to fastest varying index), which is also the order solely
used in openPMD 2.0.
Spotted by Rémi, thank you!
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
Diffstat (limited to 'Source/Parallelization/GuardCellManager.cpp')
0 files changed, 0 insertions, 0 deletions