aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhotonParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Andrew Myers <atmyers2@gmail.com> 2020-01-28 13:40:05 -0800
committerGravatar Andrew Myers <atmyers2@gmail.com> 2020-01-28 13:40:05 -0800
commit340b8f23629c3246296b8e2287bbda49c1e39c13 (patch)
tree282c7b6a81339b10517a3667b15ab9a2b3adbc00 /Source/Particles/PhotonParticleContainer.cpp
parent80074a19c67a17a9b8169dc64004322bbd0c31b5 (diff)
downloadWarpX-340b8f23629c3246296b8e2287bbda49c1e39c13.tar.gz
WarpX-340b8f23629c3246296b8e2287bbda49c1e39c13.tar.zst
WarpX-340b8f23629c3246296b8e2287bbda49c1e39c13.zip
handle rigid injection and particle splitting
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r--Source/Particles/PhotonParticleContainer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp
index 86cc206a7..7e7451ab4 100644
--- a/Source/Particles/PhotonParticleContainer.cpp
+++ b/Source/Particles/PhotonParticleContainer.cpp
@@ -57,9 +57,6 @@ PhotonParticleContainer::PushPX(WarpXParIter& pti, Real dt, DtType a_dt_type)
auto& attribs = pti.GetAttribs();
// Extract pointers to the different particle quantities
- auto& aos = pti.GetArrayOfStructs();
- ParticleType* AMREX_RESTRICT const pstruct = aos().dataPtr();
-
ParticleReal* const AMREX_RESTRICT ux = attribs[PIdx::ux].dataPtr();
ParticleReal* const AMREX_RESTRICT uy = attribs[PIdx::uy].dataPtr();
ParticleReal* const AMREX_RESTRICT uz = attribs[PIdx::uz].dataPtr();