diff options
author | 2019-06-03 16:17:17 +0200 | |
---|---|---|
committer | 2019-06-03 16:17:17 +0200 | |
commit | 1259a63a21ea6b072481ed285c888bcd6b417e51 (patch) | |
tree | 1d9ac3e2e1dfa2e35af79b0699a1dbffbb559f64 /Source/Particles/PhotonParticleContainer.cpp | |
parent | 17f2c26f30c2e2dbffcf5f3becb7dd6ae454b41a (diff) | |
download | WarpX-1259a63a21ea6b072481ed285c888bcd6b417e51.tar.gz WarpX-1259a63a21ea6b072481ed285c888bcd6b417e51.tar.zst WarpX-1259a63a21ea6b072481ed285c888bcd6b417e51.zip |
modified the pusher of the photon particle container
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhotonParticleContainer.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp index daf196014..9900bd1ad 100644 --- a/Source/Particles/PhotonParticleContainer.cpp +++ b/Source/Particles/PhotonParticleContainer.cpp @@ -65,16 +65,13 @@ PhotonParticleContainer::PushPX(WarpXParIter& pti, // Using new pusher for positions const amrex_real zero_mass = 0.0; - const amrex_real zero_charge = 0.0; warpx_particle_pusher_positions(&np, xp.dataPtr(), yp.dataPtr(), zp.dataPtr(), uxp.dataPtr(), uyp.dataPtr(), uzp.dataPtr(), giv.dataPtr(), - Exp.dataPtr(), Eyp.dataPtr(), Ezp.dataPtr(), - Bxp.dataPtr(), Byp.dataPtr(), Bzp.dataPtr(), - &zero_charge, &zero_mass, &dt, + &zero_mass, &dt, &WarpX::particle_pusher_algo); } @@ -102,6 +99,7 @@ PhotonParticleContainer::Evolve (int lev, cEx, cEy, cEz, cBx, cBy, cBz, t, dt); + } |