aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhotonParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2019-09-13 14:50:09 -0700
committerGravatar GitHub <noreply@github.com> 2019-09-13 14:50:09 -0700
commit6232f62665f4b5897ff6e779824e2ea4565054b8 (patch)
tree1e07e9e39f0287c16a37bca0e9c26f5ead863709 /Source/Particles/PhotonParticleContainer.cpp
parentd5031c61df77b5c6490b98b3fd0346188b10752c (diff)
parent1e0126346ff5cc46e01e8bb006a1677b71776afb (diff)
downloadWarpX-6232f62665f4b5897ff6e779824e2ea4565054b8.tar.gz
WarpX-6232f62665f4b5897ff6e779824e2ea4565054b8.tar.zst
WarpX-6232f62665f4b5897ff6e779824e2ea4565054b8.zip
Merge pull request #351 from dpgrote/remove_giv_array
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();