Closed AlexanderSinn closed 2 months ago
I added IntVectND::dim3(int fill_extra)
to make it easier to implement BoxND functions such as end and length. It looks like pyamrex needs an overload_cast for dim3() now.
https://github.com/AMReX-Codes/pyamrex/pull/345 merged - thanks!
LGTM. I will do one more pass tomorrow.
Summary
Similar to #3969 and #3988 but for Box.
Additional background
It should be checked that the changes to BoxIndexer do not affect the compiled GPU code. In my testing, it gives the same performance as development.
Example usage:
Checklist
The proposed changes: