Hi-PACE / hipace

Highly efficient Plasma Accelerator Emulation, quasistatic particle-in-cell code
https://hipace.readthedocs.io
Other
51 stars 14 forks source link

Use less than or equal for min_density with beam #1119

Closed AlexanderSinn closed 3 months ago

AlexanderSinn commented 3 months ago

This will prevent particles with zero weight from being injected. Same as #947 but for a fixed ppc beam.