From 9830a8246ec7c060f5f6690a717bd465514c9bd2 Mon Sep 17 00:00:00 2001 From: David Grote Date: Mon, 6 Dec 2021 20:21:43 -0800 Subject: Transform the external fields into the boosted frame (#2610) They should be specified in the lab frame --- Source/Particles/ElementaryProcess/Ionization.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source/Particles/ElementaryProcess/Ionization.cpp') diff --git a/Source/Particles/ElementaryProcess/Ionization.cpp b/Source/Particles/ElementaryProcess/Ionization.cpp index 8f57b6115..9ca20889e 100644 --- a/Source/Particles/ElementaryProcess/Ionization.cpp +++ b/Source/Particles/ElementaryProcess/Ionization.cpp @@ -41,8 +41,7 @@ IonizationFilterFunc::IonizationFilterFunc (const WarpXParIter& a_pti, int lev, m_atomic_number = a_atomic_number; m_get_position = GetParticlePosition(a_pti, a_offset); - m_get_externalE = GetExternalEField (a_pti, a_offset); - m_get_externalB = GetExternalBField (a_pti, a_offset); + m_get_externalEB = GetExternalEBField(a_pti, a_offset); m_ex_arr = exfab.array(); m_ey_arr = eyfab.array(); -- cgit v1.2.3