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 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) {
/span>Move cortex-m crate into cortex-m directoryGravatar Adam Greig 55-307/+113 2023-10-13actions/checkout: 3 -> 4Gravatar Alex Martens 6-11/+11 2023-08-16Add to docsGravatar Dion Dokter 1-9/+23