Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiLehe committed Jan 18, 2025
1 parent 8182df7 commit 0980516
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/Initialization/WarpXInitData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,6 @@ WarpX::InitLevelData (int lev, Real /*time*/)
if ((m_p_ext_field_params->B_ext_grid_type == ExternalFieldType::parse_ext_grid_function)
&& (lev > 0) && (lev <= maxlevel_extEMfield_init)) {

// TODO: raise error when EB is activated
ComputeExternalFieldOnGridUsingParser(
FieldType::Bfield_aux,
m_p_ext_field_params->Bxfield_parser->compile<4>(),
Expand All @@ -990,7 +989,7 @@ WarpX::InitLevelData (int lev, Real /*time*/)
m_p_ext_field_params->Bxfield_parser->compile<4>(),
m_p_ext_field_params->Byfield_parser->compile<4>(),
m_p_ext_field_params->Bzfield_parser->compile<4>(),
lev, PatchType::coarse, m_eb_update_E);
lev, PatchType::coarse, m_eb_update_B);
}

// if the input string for the E-field is "parse_e_ext_grid_function",
Expand Down

0 comments on commit 0980516

Please sign in to comment.