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.
The function
has
, intended for checking whether the species of a passed particle handle is marked as given atomicPhysics ParticleType, mistakenly ignored the specifiedParticleTypeTag
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