ComputationalRadiationPhysics / picongpu

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

macroParticlesCount does not support filters #4477

Open PrometheusPi opened 1 year ago

PrometheusPi commented 1 year ago

The macroParticlesCount plugin does not support filters at the moment. This would however be a great addition to determine how many macro particles would pass the filter and how many will not pass it.

A workaround is to use the energy histogram plugins total bins to get the number.

pordyna commented 1 year ago

It's not that much work, but one needs to make macroParticlesCount into a multi plugin.