Hi-PACE / hipace

Highly efficient Plasma Accelerator Emulation, quasistatic particle-in-cell code
https://hipace.readthedocs.io
Other
51 stars 14 forks source link

Clean in-situ diagnostic with TupleSplit and tupleToArray #1126

Closed AlexanderSinn closed 1 month ago

AlexanderSinn commented 2 months ago

The previous version with constexpr_for was already relatively good, however using the new amrex functions TupleSplit and tupleToArray it can be simplified further.