-
It looks to me that the particle weight in an output from a 2D simulation (as well as the accumulated value in a particle histogram) is actually not the particle number, but rather linear particle density along the 3rd not simulated direction. To be honest, this makes a lot of sense, but in the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
What also could happen is that I was supposed to set somewhere the cell size in the not simulated dimension but didn't, and it was set to 1m by default? Btw. I'm actually not sure of the
|
Beta Was this translation helpful? Give feedback.
Hi @pordyna,
Thanks for the report. Yes, you got this right. Weighting is actually a number of particles (count, unitless) only in 3D, and in 2D a count per length and in 1D a count per surface area.
We need to change this in both WarpX:
and openPMD-standard:
Thanks for the report!!