From 9446ea37a95b79116ab78836b7a6a6f60ff4dbb2 Mon Sep 17 00:00:00 2001 From: Luca Fedeli Date: Thu, 12 Sep 2019 12:37:01 +0200 Subject: Added do_qed_breit_wheeler flag for photons --- Source/Particles/PhotonParticleContainer.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Source/Particles/PhotonParticleContainer.cpp') 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() -- cgit v1.2.3