diff options
author | 2019-10-24 18:43:15 +0200 | |
---|---|---|
committer | 2019-10-24 18:43:15 +0200 | |
commit | e723d2f78b40dae713fabfebe15fdecbcd4e4296 (patch) | |
tree | 3eb36f4ec865c8ec23c172f084e41546133d4eb5 /Source/Particles/PhotonParticleContainer.cpp | |
parent | ecc6b6ed0500d36c8156892e2fa70b1b9e691f62 (diff) | |
download | WarpX-e723d2f78b40dae713fabfebe15fdecbcd4e4296.tar.gz WarpX-e723d2f78b40dae713fabfebe15fdecbcd4e4296.tar.zst WarpX-e723d2f78b40dae713fabfebe15fdecbcd4e4296.zip |
Checks if has_breit_wheeler() before calling DoBreitWheelerPti
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhotonParticleContainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp index ca4dcc81b..5bd7eb372 100644 --- a/Source/Particles/PhotonParticleContainer.cpp +++ b/Source/Particles/PhotonParticleContainer.cpp @@ -89,7 +89,7 @@ PhotonParticleContainer::PushPX(WarpXParIter& pti, ); #ifdef WARPX_QED - DoBreitWheelerPti(pti, dt); + if(has_breit_wheeler()) DoBreitWheelerPti(pti, dt); #endif } |