diff options
author | 2020-01-10 08:15:13 -0800 | |
---|---|---|
committer | 2020-01-10 08:15:13 -0800 | |
commit | 160d752af70ec454c7b220705378c42e0df9b29a (patch) | |
tree | 2e2949a829bed167225d7f0169dbbca28ba9ddbe /Source/Particles/PhysicalParticleContainer.cpp | |
parent | a4284d97b17ff50a3837d99d039aa23511045eae (diff) | |
parent | 9d4caa204ae770a8d5c12741205720639fcd3855 (diff) | |
download | WarpX-160d752af70ec454c7b220705378c42e0df9b29a.tar.gz WarpX-160d752af70ec454c7b220705378c42e0df9b29a.tar.zst WarpX-160d752af70ec454c7b220705378c42e0df9b29a.zip |
Merge pull request #608 from lucafedeli88/fix_bug_qed
[mini-PR] fix a segfault bug
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhysicalParticleContainer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index ffe0bb20f..f22f94e9b 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -1616,10 +1616,9 @@ PhysicalParticleContainer::PushPX(WarpXParIter& pti, #ifdef WARPX_QED - auto t_chi_max = m_shr_p_qs_engine->get_ref_ctrl().chi_part_min; - if(do_classical_radiation_reaction){ if(m_do_qed_quantum_sync){ + const auto t_chi_max = m_shr_p_qs_engine->get_ref_ctrl().chi_part_min; amrex::ParallelFor( pti.numParticles(), [=] AMREX_GPU_DEVICE (long i) { |