aboutsummaryrefslogtreecommitdiff
path: root/Source/Python/WarpXWrappers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Python/WarpXWrappers.cpp')
-rw-r--r--Source/Python/WarpXWrappers.cpp1
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