diff options
author | 2020-01-10 12:32:51 +0100 | |
---|---|---|
committer | 2020-01-10 12:32:51 +0100 | |
commit | 9d4caa204ae770a8d5c12741205720639fcd3855 (patch) | |
tree | 8d0e15dfd21c83744f9cf2bfd2154f5ebbc767f3 /Source/Particles/PhysicalParticleContainer.cpp | |
parent | 0b25b1b68f1b70e965295505d1503a3e57b6c2cc (diff) | |
download | WarpX-9d4caa204ae770a8d5c12741205720639fcd3855.tar.gz WarpX-9d4caa204ae770a8d5c12741205720639fcd3855.tar.zst WarpX-9d4caa204ae770a8d5c12741205720639fcd3855.zip |
fixed 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 94d9bc363..8777ec9b1 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -1614,10 +1614,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) { |