diff options
author | 2022-09-01 10:30:42 -0700 | |
---|---|---|
committer | 2022-09-01 10:30:42 -0700 | |
commit | f98da67950e7fd34d89bb7996327a6c566338c9e (patch) | |
tree | a6fd28ab5e0a1730c2132c64df418aaeb2085a64 /Source/Particles/Resampling | |
parent | a10d4a27c399b930dc6c9e58030dd0663d42a7ac (diff) | |
download | WarpX-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