diff options
Diffstat (limited to 'Source/Python')
-rw-r--r-- | Source/Python/WarpXWrappers.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Python/WarpXWrappers.cpp b/Source/Python/WarpXWrappers.cpp index f2855a145..2df989bba 100644 --- a/Source/Python/WarpXWrappers.cpp +++ b/Source/Python/WarpXWrappers.cpp @@ -626,6 +626,7 @@ namespace { const long np = pti.numParticles(); auto& wp = pti.GetAttribs(PIdx::w); + // Do this unconditionally, ignoring myspc.do_not_deposit, to support diagnostic uses myspc.DepositCharge(pti, wp, nullptr, rho_fp, 0, 0, np, 0, lev, lev); } #ifdef WARPX_DIM_RZ |