Hi-PACE / hipace

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

Clean in-situ diagnostic with TupleSplit and tupleToArray #1126

Closed AlexanderSinn closed 4 months ago

AlexanderSinn commented 5 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.