aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhotonParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-09-14 12:14:08 -0700
committerGravatar MaxThevenet <mthevenet@lbl.gov> 2019-09-14 12:14:08 -0700
commit2cde7b74687cc2e3e1448da6d04ae3c128942168 (patch)
treee172e6679e6051aaecd35d0bece75f4c9275611f /Source/Particles/PhotonParticleContainer.cpp
parentf46cdc9485ddf20a41bfcfd8a3081dcbecd435b9 (diff)
parent6232f62665f4b5897ff6e779824e2ea4565054b8 (diff)
downloadWarpX-2cde7b74687cc2e3e1448da6d04ae3c128942168.tar.gz
WarpX-2cde7b74687cc2e3e1448da6d04ae3c128942168.tar.zst
WarpX-2cde7b74687cc2e3e1448da6d04ae3c128942168.zip
Merge branch 'dev' into qed_phys_part_with_lambda
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r--Source/Particles/PhotonParticleContainer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp
index f2eb147de..71202c7fd 100644
--- a/Source/Particles/PhotonParticleContainer.cpp
+++ b/Source/Particles/PhotonParticleContainer.cpp
@@ -52,7 +52,6 @@ PhotonParticleContainer::PushPX(WarpXParIter& pti,
Cuda::ManagedDeviceVector<Real>& xp,
Cuda::ManagedDeviceVector<Real>& yp,
Cuda::ManagedDeviceVector<Real>& zp,
- Cuda::ManagedDeviceVector<Real>& giv,
Real dt)
{
@@ -62,7 +61,6 @@ PhotonParticleContainer::PushPX(WarpXParIter& pti,
Real* const AMREX_RESTRICT x = xp.dataPtr();
Real* const AMREX_RESTRICT y = yp.dataPtr();
Real* const AMREX_RESTRICT z = zp.dataPtr();
- Real* const AMREX_RESTRICT gi = giv.dataPtr();
Real* const AMREX_RESTRICT ux = attribs[PIdx::ux].dataPtr();
Real* const AMREX_RESTRICT uy = attribs[PIdx::uy].dataPtr();
Real* const AMREX_RESTRICT uz = attribs[PIdx::uz].dataPtr();