diff options
author | 2019-10-21 10:24:26 -0700 | |
---|---|---|
committer | 2019-10-21 10:24:26 -0700 | |
commit | ee34b3e8cd231e5fa42cb841ec6ac16555e3a692 (patch) | |
tree | ff3d0cf3d9decf92890c131ad022a12caa60a4aa /Source/Particles/PhotonParticleContainer.H | |
parent | d9daf257e26d503ac5d1c7c1bf8aaff4877ff7aa (diff) | |
parent | 80f2d85117bf99c256d416a3a21fb4618e82fe8b (diff) | |
download | WarpX-ee34b3e8cd231e5fa42cb841ec6ac16555e3a692.tar.gz WarpX-ee34b3e8cd231e5fa42cb841ec6ac16555e3a692.tar.zst WarpX-ee34b3e8cd231e5fa42cb841ec6ac16555e3a692.zip |
Merge branch 'dev' of https://github.com/ECP-WarpX/WarpX into SliceInLabFrameForBoostedSim
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.H')
-rw-r--r-- | Source/Particles/PhotonParticleContainer.H | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/Particles/PhotonParticleContainer.H b/Source/Particles/PhotonParticleContainer.H index 9b53a04ba..407cf26f3 100644 --- a/Source/Particles/PhotonParticleContainer.H +++ b/Source/Particles/PhotonParticleContainer.H @@ -46,6 +46,15 @@ public: amrex::Cuda::ManagedDeviceVector<amrex::ParticleReal>& zp, amrex::Real dt, DtType a_dt_type=DtType::Full) override; + // Don't push momenta for photons + virtual void PushP (int lev, + amrex::Real dt, + const amrex::MultiFab& Ex, + const amrex::MultiFab& Ey, + const amrex::MultiFab& Ez, + const amrex::MultiFab& Bx, + const amrex::MultiFab& By, + const amrex::MultiFab& Bz) override {}; // DepositCurrent should do nothing for photons @@ -64,7 +73,6 @@ public: int lev, int depos_lev, amrex::Real dt) override {}; - }; #endif // #ifndef WARPX_PhotonParticleContainer_H_ |