diff options
author | 2022-03-10 11:58:22 -0800 | |
---|---|---|
committer | 2022-03-10 11:58:22 -0800 | |
commit | da837aaffd1d2fbce14a6bea4a3a38331a56df72 (patch) | |
tree | dbc0f06ddbcbac13419e653c9f402f979cba2fd6 /Source/Particles/Gather/GetExternalFields.H | |
parent | 8b8760d2cb9d288b3c6f3f52c2bf2536f232afc0 (diff) | |
download | WarpX-da837aaffd1d2fbce14a6bea4a3a38331a56df72.tar.gz WarpX-da837aaffd1d2fbce14a6bea4a3a38331a56df72.tar.zst WarpX-da837aaffd1d2fbce14a6bea4a3a38331a56df72.zip |
fix ambiguity in Parser from amrex and ExternalFieldInitType (#2955)
Diffstat (limited to 'Source/Particles/Gather/GetExternalFields.H')
-rw-r--r-- | Source/Particles/Gather/GetExternalFields.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Particles/Gather/GetExternalFields.H b/Source/Particles/Gather/GetExternalFields.H index 37d90cdba..3c1dfdf60 100644 --- a/Source/Particles/Gather/GetExternalFields.H +++ b/Source/Particles/Gather/GetExternalFields.H @@ -82,7 +82,7 @@ struct GetExternalEBField Ey = m_Efield_value[1]; Ez = m_Efield_value[2]; } - else if (m_Etype == Parser) + else if (m_Etype == ExternalFieldInitType::Parser) { amrex::ParticleReal x, y, z; m_get_position(i, x, y, z); @@ -102,7 +102,7 @@ struct GetExternalEBField By = m_Bfield_value[1]; Bz = m_Bfield_value[2]; } - else if (m_Btype == Parser) + else if (m_Btype == ExternalFieldInitType::Parser) { amrex::ParticleReal x, y, z; m_get_position(i, x, y, z); |