aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/WarpX.py
diff options
context:
space:
mode:
authorGravatar Weiqun Zhang <WeiqunZhang@lbl.gov> 2023-06-09 11:34:13 -0700
committerGravatar GitHub <noreply@github.com> 2023-06-09 11:34:13 -0700
commitf6cda9ab07b683b7a2d61065439fe564b112876b (patch)
treec109b1f1389a0937653b32581860b8e6f6f32028 /Python/pywarpx/WarpX.py
parent8ec6b19767cfaea7949fb47053c788b001994ef8 (diff)
downloadWarpX-f6cda9ab07b683b7a2d61065439fe564b112876b.tar.gz
WarpX-f6cda9ab07b683b7a2d61065439fe564b112876b.tar.zst
WarpX-f6cda9ab07b683b7a2d61065439fe564b112876b.zip
Fix SyncCurrent and SyncRho for multi-levels (#3777)
* Fix SyncCurrent and SyncRho for multi-levels Previously these two function did not work when max_level > 1. For example, when max_level = 2, the coarse patch data from level 2 were coarsened and added to the fine patch on level 1. However, the coarse patch on level 1 did not have any contribution from level 2 as it should have, because the coarsening was performed before the fine patch on level 1 received the level 2 contribution. The order has been fixed in this commit. * Improve inline comment Co-authored-by: Weiqun Zhang <WeiqunZhang@lbl.gov> * Improve inline comments * Reset CI benchmark * Add comments * Update Source/Parallelization/WarpXComm.cpp Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Parallelization/WarpXComm.cpp Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Parallelization/WarpXComm.cpp Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> --------- Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> Co-authored-by: Edoardo Zoni <ezoni@lbl.gov> Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Python/pywarpx/WarpX.py')
0 files changed, 0 insertions, 0 deletions