aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/Langmuirwave.py
diff options
context:
space:
mode:
authorGravatar Ilian Kara-Mostefa <95044023+IlianCS@users.noreply.github.com> 2023-03-28 00:44:01 -0700
committerGravatar GitHub <noreply@github.com> 2023-03-28 07:44:01 +0000
commit54e846b55d1487430a1228cf9daab577976dc1b7 (patch)
treeed603bbc7156bff6c1252b80ea73da883c5a01b1 /Python/pywarpx/Langmuirwave.py
parent99e6d60a35b1d373f88e7ab1dddec2d517bef1f8 (diff)
downloadWarpX-54e846b55d1487430a1228cf9daab577976dc1b7.tar.gz
WarpX-54e846b55d1487430a1228cf9daab577976dc1b7.tar.zst
WarpX-54e846b55d1487430a1228cf9daab577976dc1b7.zip
Fix: openPMD Weighting Loading (#3783)
* Fix: openPMD Weighting Loading This fixes the loading of openPMD beams with per-particle weighting. The previous implementation forgot to `flush()` the data of the weighting attribute and assumed the weighting of the first particle applies to all particles of the loaded beam. This change loads the weighting for each particle. * Updating the documentation: removed re-scaling feature while using the "external file" injection style. * Issue a warning if a nonzero q_tot is found in the inputs file * Formatting and comments Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Python/pywarpx/Langmuirwave.py')
0 files changed, 0 insertions, 0 deletions