aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/ElementaryProcess/Ionization.cpp
diff options
context:
space:
mode:
authorGravatar David Grote <grote1@llnl.gov> 2021-12-06 20:21:43 -0800
committerGravatar GitHub <noreply@github.com> 2021-12-07 04:21:43 +0000
commit9830a8246ec7c060f5f6690a717bd465514c9bd2 (patch)
tree0f7241d5bc36c8cc5718c9ae1d36b0463ca4b5c1 /Source/Particles/ElementaryProcess/Ionization.cpp
parent749a4c0d8bce01df5bd886f5c452a76c607a850d (diff)
downloadWarpX-9830a8246ec7c060f5f6690a717bd465514c9bd2.tar.gz
WarpX-9830a8246ec7c060f5f6690a717bd465514c9bd2.tar.zst
WarpX-9830a8246ec7c060f5f6690a717bd465514c9bd2.zip
Transform the external fields into the boosted frame (#2610)
They should be specified in the lab frame
Diffstat (limited to 'Source/Particles/ElementaryProcess/Ionization.cpp')
-rw-r--r--Source/Particles/ElementaryProcess/Ionization.cpp3
1 files changed, 1 insertions, 2 deletions
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();