From c053d3821a86fe5f93f34605145047efdaaba12d Mon Sep 17 00:00:00 2001 From: Dave Grote Date: Tue, 3 Oct 2023 13:50:14 -0700 Subject: [PATCH] Yet more fixes for QED --- Source/Particles/MultiParticleContainer.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/Particles/MultiParticleContainer.cpp b/Source/Particles/MultiParticleContainer.cpp index 790dad6661b..85e371aa6da 100644 --- a/Source/Particles/MultiParticleContainer.cpp +++ b/Source/Particles/MultiParticleContainer.cpp @@ -1527,7 +1527,8 @@ void MultiParticleContainer::doQedBreitWheeler (int lev, pti, lev, Ex.nGrowVect(), Ex[pti], Ey[pti], Ez[pti], Bx[pti], By[pti], Bz[pti], - m_E_external_particle, m_B_external_particle); + phys_pc_ptr->m_E_external_particle, + phys_pc_ptr->m_B_external_particle); auto& src_tile = pc_source->ParticlesAt(lev, pti); auto& dst_ele_tile = pc_product_ele->ParticlesAt(lev, pti); @@ -1606,7 +1607,8 @@ void MultiParticleContainer::doQedQuantumSync (int lev, pti, lev, Ex.nGrowVect(), Ex[pti], Ey[pti], Ez[pti], Bx[pti], By[pti], Bz[pti], - m_E_external_particle, m_B_external_particle); + phys_pc_ptr->m_E_external_particle, + phys_pc_ptr->m_B_external_particle); auto& src_tile = pc_source->ParticlesAt(lev, pti); auto& dst_tile = pc_product_phot->ParticlesAt(lev, pti);