diff options
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhysicalParticleContainer.cpp | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 8f9ad2e7c..108f4bd30 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -146,23 +146,18 @@ PhysicalParticleContainer::PhysicalParticleContainer (AmrCore* amr_core, int isp //_____________________________ #ifdef WARPX_QED - pp.query("do_qed", m_do_qed); - if(m_do_qed){ - //If do_qed is enabled, find out if Quantum Synchrotron process is enabled - pp.query("do_qed_quantum_sync", m_do_qed_quantum_sync); - if (m_do_qed_quantum_sync) - AddRealComp("optical_depth_QSR"); - pp.query("do_qed_breit_wheeler", m_do_qed_breit_wheeler); - if (m_do_qed_breit_wheeler) - AddRealComp("optical_depth_BW"); - } + pp.query("do_qed_quantum_sync", m_do_qed_quantum_sync); + if (m_do_qed_quantum_sync) + AddRealComp("optical_depth_QSR"); + + pp.query("do_qed_breit_wheeler", m_do_qed_breit_wheeler); + if (m_do_qed_breit_wheeler) + AddRealComp("optical_depth_BW"); if(m_do_qed_quantum_sync){ pp.get("qed_quantum_sync_phot_product_species", m_qed_quantum_sync_phot_product_name); } - - #endif // Get Galilean velocity |