diff options
author | 2021-02-01 20:12:33 +0100 | |
---|---|---|
committer | 2021-02-01 11:12:33 -0800 | |
commit | a3c21696712d1b824d022dcc81ad9bda2bce3cb5 (patch) | |
tree | d7930af8894424c033f5a93882ede5a19d9a7ea9 /Source/Particles/PhotonParticleContainer.cpp | |
parent | dfe8b3edfebfac5fe2ead62034592902a47c5c13 (diff) | |
download | WarpX-a3c21696712d1b824d022dcc81ad9bda2bce3cb5.tar.gz WarpX-a3c21696712d1b824d022dcc81ad9bda2bce3cb5.tar.zst WarpX-a3c21696712d1b824d022dcc81ad9bda2bce3cb5.zip |
Remove redundant "do_qed" option in inputfile (#1667)
* removed redundant do_qed option in inputfile
* fixed bug
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhotonParticleContainer.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp index 94dd2ef39..90e524196 100644 --- a/Source/Particles/PhotonParticleContainer.cpp +++ b/Source/Particles/PhotonParticleContainer.cpp @@ -34,9 +34,8 @@ PhotonParticleContainer::PhotonParticleContainer (AmrCore* amr_core, int ispecie ParmParse pp(species_name); #ifdef WARPX_QED - //IF m_do_qed is enabled, find out if Breit Wheeler process is enabled - if(m_do_qed) - pp.query("do_qed_breit_wheeler", m_do_qed_breit_wheeler); + //Find out if Breit Wheeler process is enabled + pp.query("do_qed_breit_wheeler", m_do_qed_breit_wheeler); //If Breit Wheeler process is enabled, look for the target electron and positron //species |