diff options
author | 2019-07-26 14:14:14 -0700 | |
---|---|---|
committer | 2019-07-26 14:14:14 -0700 | |
commit | 6f351e2a6162bf57d0201978ff03ef740293e3af (patch) | |
tree | c5ea524750071c6e5e9ec26cf2b20d3c2a59f8d0 /Source/Particles/PhysicalParticleContainer.cpp | |
parent | 1b67c15a76868332487c203562ab3e824d2f2e65 (diff) | |
download | WarpX-6f351e2a6162bf57d0201978ff03ef740293e3af.tar.gz WarpX-6f351e2a6162bf57d0201978ff03ef740293e3af.tar.zst WarpX-6f351e2a6162bf57d0201978ff03ef740293e3af.zip |
fix RZ. Now both 2D and RZ give same result as before
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhysicalParticleContainer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 91ad03e9b..6d47373f9 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -1122,9 +1122,9 @@ PhysicalParticleContainer::FieldGather (int lev, #ifdef WARPX_RZ warpx_geteb_energy_conserving( &np, - xp.dataPtr(), - yp.dataPtr(), - zp.dataPtr(), + m_xp[thread_num].dataPtr(), + m_yp[thread_num].dataPtr(), + m_zp[thread_num].dataPtr(), Exp.dataPtr(),Eyp.dataPtr(),Ezp.dataPtr(), Bxp.dataPtr(),Byp.dataPtr(),Bzp.dataPtr(), ixyzmin, |