aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhotonParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Dave Grote <grote1@llnl.gov> 2019-09-13 10:40:50 -0700
committerGravatar Dave Grote <grote1@llnl.gov> 2019-09-13 10:40:50 -0700
commit1e0126346ff5cc46e01e8bb006a1677b71776afb (patch)
treeb5d701f40cbb7598279bd5ccfb243bf084a86a84 /Source/Particles/PhotonParticleContainer.cpp
parent80a22a69820d24a712d7ceed8928c4f368bd782b (diff)
downloadWarpX-1e0126346ff5cc46e01e8bb006a1677b71776afb.tar.gz
WarpX-1e0126346ff5cc46e01e8bb006a1677b71776afb.tar.zst
WarpX-1e0126346ff5cc46e01e8bb006a1677b71776afb.zip
Removed m_giv which was being set but not used.
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 c0a159f1b..55dc839eb 100644
--- a/Source/Particles/PhotonParticleContainer.cpp
+++ b/Source/Particles/PhotonParticleContainer.cpp
@@ -37,7 +37,6 @@ PhotonParticleContainer::PushPX(WarpXParIter& pti,
Cuda::ManagedDeviceVector<Real>& xp,
Cuda::ManagedDeviceVector<Real>& yp,
Cuda::ManagedDeviceVector<Real>& zp,
- Cuda::ManagedDeviceVector<Real>& giv,
Real dt)
{
@@ -47,7 +46,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();