aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/Resampling
diff options
context:
space:
mode:
authorGravatar Weiqun Zhang <WeiqunZhang@lbl.gov> 2022-09-01 10:30:42 -0700
committerGravatar GitHub <noreply@github.com> 2022-09-01 10:30:42 -0700
commitf98da67950e7fd34d89bb7996327a6c566338c9e (patch)
treea6fd28ab5e0a1730c2132c64df418aaeb2085a64 /Source/Particles/Resampling
parenta10d4a27c399b930dc6c9e58030dd0663d42a7ac (diff)
downloadWarpX-f98da67950e7fd34d89bb7996327a6c566338c9e.tar.gz
WarpX-f98da67950e7fd34d89bb7996327a6c566338c9e.tar.zst
WarpX-f98da67950e7fd34d89bb7996327a6c566338c9e.zip
Fix a bug in AddPlasma (#3351)
When warpx.refine_plasma=1, there was an error in the logic like below. if (lrefine_injection) { Box fine_overlap_box = ...; if (fine_overlap_box.ok()) { pcounts[index] = ...; } // the else part was missing } else { pcounts[index] = ...; }
Diffstat (limited to 'Source/Particles/Resampling')
0 files changed, 0 insertions, 0 deletions