aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/ElementaryProcess/QEDPairGeneration.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/QEDPairGeneration.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/QEDPairGeneration.cpp')
-rw-r--r--Source/Particles/ElementaryProcess/QEDPairGeneration.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Particles/ElementaryProcess/QEDPairGeneration.cpp b/Source/Particles/ElementaryProcess/QEDPairGeneration.cpp
index b97c9fe8d..9d5876ef3 100644
--- a/Source/Particles/ElementaryProcess/QEDPairGeneration.cpp
+++ b/Source/Particles/ElementaryProcess/QEDPairGeneration.cpp
@@ -31,8 +31,7 @@ PairGenerationTransformFunc (BreitWheelerGeneratePairs const generate_functor,
: m_generate_functor(generate_functor)
{
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();