diff options
author | 2019-09-12 12:37:01 +0200 | |
---|---|---|
committer | 2019-09-12 12:37:01 +0200 | |
commit | 9446ea37a95b79116ab78836b7a6a6f60ff4dbb2 (patch) | |
tree | af14636d128b9043d12aa26c827d8d957aca8bb2 /Source/Particles/PhotonParticleContainer.cpp | |
parent | a7057e0309c023a3f1a3c64ff4339c8cd3da9be4 (diff) | |
download | WarpX-9446ea37a95b79116ab78836b7a6a6f60ff4dbb2.tar.gz WarpX-9446ea37a95b79116ab78836b7a6a6f60ff4dbb2.tar.zst WarpX-9446ea37a95b79116ab78836b7a6a6f60ff4dbb2.zip |
Added do_qed_breit_wheeler flag for photons
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhotonParticleContainer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp index 61e602ffb..399892959 100644 --- a/Source/Particles/PhotonParticleContainer.cpp +++ b/Source/Particles/PhotonParticleContainer.cpp @@ -31,6 +31,12 @@ PhotonParticleContainer::PhotonParticleContainer (AmrCore* amr_core, int ispecie // store it into member data. pp.query("size_in_inches", size_in_inches); +#ifdef WARPX_QED + //IF do_qed is enabled, find out if Breit Wheeler process is enabled + if(do_qed) + pp.query("do_qed_breit_wheeler", do_qed_breit_wheeler); +#endif + } void PhotonParticleContainer::InitData() |