ComputationalRadiationPhysics / picongpu

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

bug fix atomicPhysics particle type #5203

Closed BrianMarre closed 2 weeks ago

BrianMarre commented 2 weeks ago

The function has, intended for checking whether the species of a passed particle handle is marked as given atomicPhysics ParticleType, mistakenly ignored the specified ParticleTypeTag and instead always checked for the Ion Tag.

This PR fixes that and refactors the function for better useability in the intended use case.

ci: picongpu