aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Dave Grote <grote1@llnl.gov> 2019-08-02 17:46:46 -0700
committerGravatar Dave Grote <grote1@llnl.gov> 2019-08-02 17:46:46 -0700
commit1f54f88a93486d189c96333916edeb289631ec8f (patch)
treeeca1c70febb568bc8a1726d90dbfb9e5cba8cd21 /Source/Particles/PhysicalParticleContainer.cpp
parent69a94bfb22c09e96ffb31f3bea95a69f7f949319 (diff)
downloadWarpX-1f54f88a93486d189c96333916edeb289631ec8f.tar.gz
WarpX-1f54f88a93486d189c96333916edeb289631ec8f.tar.zst
WarpX-1f54f88a93486d189c96333916edeb289631ec8f.zip
Minor fix in PhysicalParticleContainer::PushP
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r--Source/Particles/PhysicalParticleContainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp
index 89ea3c9f3..0e6072287 100644
--- a/Source/Particles/PhysicalParticleContainer.cpp
+++ b/Source/Particles/PhysicalParticleContainer.cpp
@@ -1641,13 +1641,13 @@ PhysicalParticleContainer::PushP (int lev, Real dt,
//
pti.GetPosition(m_xp[thread_num], m_yp[thread_num], m_zp[thread_num]);
+#ifdef WARPX_RZ
const std::array<Real,3>& xyzmin_grid = WarpX::LowerCorner(box, lev);
const int* ixyzmin_grid = box.loVect();
const int ll4symtry = false;
long lvect_fieldgathe = 64;
-#ifdef WARPX_RZ
warpx_geteb_energy_conserving(
&np,
m_xp[thread_num].dataPtr(),