aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r--Source/Particles/PhysicalParticleContainer.cpp3
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) {