AMReX-Codes / pyamrex

GPU-Enabled, Zero-Copy AMReX Python Bindings including AI/ML
http://pyamrex.readthedocs.io
Other
35 stars 19 forks source link

Helper: Position 1D Array per Tile Box #288

Open ax3l opened 6 months ago

ax3l commented 6 months ago

Raised by @RemiLehe:

Similar to openPMD-viewer field info, it would be helpful for many algorithms if we add a helper to each box / mfi to create a 1D array for each axis of the current box that contains only the real position of each grid point (including staggering).