amrex icon indicating copy to clipboard operation
amrex copied to clipboard

Reduce use of SuperParticle

Open AlexanderSinn opened this issue 6 months ago • 0 comments

Summary

In preparation of #4404, this PR reduces the reliance of SuperParticle. The issue with getSuperParticle is that the compiler is instructed to read in all the data of the particle into registers even if most of it is not needed. Additionally, runtime data is not accessible through SuperParticle.

Additional background

Checklist

The proposed changes:

  • [ ] fix a bug or incorrect behavior in AMReX
  • [ ] add new capabilities to AMReX
  • [ ] changes answers in the test suite to more than roundoff level
  • [ ] are likely to significantly affect the results of downstream AMReX users
  • [ ] include documentation in the code and/or rst files, if appropriate

AlexanderSinn avatar Jun 26 '25 18:06 AlexanderSinn