aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhotonParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-09-02 07:10:11 -0700
committerGravatar MaxThevenet <mthevenet@lbl.gov> 2019-09-02 07:10:11 -0700
commitd55fd6f190470cb56cfcbf3435d8b14a3ef597b8 (patch)
tree14f1f175a08c7ec4b0bd0ba2890889ae6cff435b /Source/Particles/PhotonParticleContainer.cpp
parentbc441ae80e6822e09092065252f813f785b7e45b (diff)
downloadWarpX-d55fd6f190470cb56cfcbf3435d8b14a3ef597b8.tar.gz
WarpX-d55fd6f190470cb56cfcbf3435d8b14a3ef597b8.tar.zst
WarpX-d55fd6f190470cb56cfcbf3435d8b14a3ef597b8.zip
fix compilation errors
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r--Source/Particles/PhotonParticleContainer.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp
index 2bcf87d6a..31a62b739 100644
--- a/Source/Particles/PhotonParticleContainer.cpp
+++ b/Source/Particles/PhotonParticleContainer.cpp
@@ -50,29 +50,6 @@ PhotonParticleContainer::PushPX(WarpXParIter& pti,
Cuda::ManagedDeviceVector<Real>& giv,
Real dt)
{
- // This wraps the call to warpx_particle_pusher so that inheritors can modify the call.
- auto& attribs = pti.GetAttribs();
- auto& uxp = attribs[PIdx::ux];
- auto& uyp = attribs[PIdx::uy];
- auto& uzp = attribs[PIdx::uz];
- auto& Exp = attribs[PIdx::Ex];
- auto& Eyp = attribs[PIdx::Ey];
- auto& Ezp = attribs[PIdx::Ez];
- auto& Bxp = attribs[PIdx::Bx];
- auto& Byp = attribs[PIdx::By];
- auto& Bzp = attribs[PIdx::Bz];
- const long np = pti.numParticles();
-
- // Using new pusher for positions
- const amrex_real zero_mass = 0.0;
- warpx_particle_pusher_positions(&np,
- xp.dataPtr(),
- yp.dataPtr(),
- zp.dataPtr(),
- uxp.dataPtr(), uyp.dataPtr(), uzp.dataPtr(),
- giv.dataPtr(),
- &zero_mass, &dt,
- &WarpX::particle_pusher_algo);
}
void