ComputationalRadiationPhysics / picongpu

Performance-Portable Particle-in-Cell Simulations for the Exascale Era :sparkles:
https://picongpu.readthedocs.io
Other
708 stars 218 forks source link

refactor to avoid code duplication #5220

Closed BrianMarre closed 4 days ago

BrianMarre commented 1 week ago

This PR is the combination of different refactors reducing code duplication in preparation for the implementation of instant field ionization transitions.

The first commit is provides the starting point, the remaining 7 commits contain one feature refactor each and are tested to compile with gcc 12.2.0 .

Please review this PR commit wise.