From 5584058ed1a02f59bb52492aa48cceb2df551baf Mon Sep 17 00:00:00 2001 From: atmyers Date: Mon, 29 Jun 2020 12:47:07 -0700 Subject: [PATCH] fix typo --- Source/Particles/Gather/GetExternalFields.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Particles/Gather/GetExternalFields.cpp b/Source/Particles/Gather/GetExternalFields.cpp index 6e4eb6d1ba6..a5ba6698f5d 100644 --- a/Source/Particles/Gather/GetExternalFields.cpp +++ b/Source/Particles/Gather/GetExternalFields.cpp @@ -34,7 +34,7 @@ GetExternalBField::GetExternalBField (const WarpXParIter& a_pti, int a_offset) n m_field_value[1] = mypc.m_B_external_particle[1]; m_field_value[2] = mypc.m_B_external_particle[2]; } - else if (mypc.m_B_ext_particle_s=="parse_e_ext_particle_function") + else if (mypc.m_B_ext_particle_s=="parse_b_ext_particle_function") { m_type = Parser; m_time = warpx.gett_new(a_pti.GetLevel());