diff options
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.H')
-rw-r--r-- | Source/Particles/PhotonParticleContainer.H | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/Source/Particles/PhotonParticleContainer.H b/Source/Particles/PhotonParticleContainer.H index 9132cf4a9..b1cc283c3 100644 --- a/Source/Particles/PhotonParticleContainer.H +++ b/Source/Particles/PhotonParticleContainer.H @@ -46,7 +46,6 @@ 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, @@ -54,7 +53,7 @@ public: const amrex::MultiFab& Ez, const amrex::MultiFab& Bx, const amrex::MultiFab& By, - const amrex::MultiFab& Bz) override {}; + const amrex::MultiFab& Bz) override; // DepositCurrent should do nothing for photons @@ -79,6 +78,28 @@ public: return false; }; +#ifdef WARPX_QED + /** + * This functions (called by PushP) evolves optical depths + * of the photons according to the Breit Wheeler process + */ + void DoBreitWheeler(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); + + /** + * This functions (called by PushPX) evolves optical depths + * of the photons according to the Breit Wheeler process + */ + void DoBreitWheelerPti(WarpXParIter& pti, + amrex::Real dt); +#endif + }; #endif // #ifndef WARPX_PhotonParticleContainer_H_ |