Skip to content

Commit

Permalink
default not needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
RevathiJambunathan committed Nov 15, 2023
1 parent ea61876 commit a02b3b6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Source/Initialization/WarpXInitData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,6 @@ WarpX::InitLevelData (int lev, Real /*time*/)
// Externally imposed fields are only initialized until the user-defined maxlevel_extEMfield_init.
// The default maxlevel_extEMfield_init value is the total number of levels in the simulation
if ( ( B_ext_grid_s == "constant" && (lev <= maxlevel_extEMfield_init) )
|| B_ext_grid_s == "default")
{
Bfield_fp[lev][i]->setVal(B_external_grid[i]);
if (fft_do_time_averaging) {
Expand All @@ -785,7 +784,6 @@ WarpX::InitLevelData (int lev, Real /*time*/)
// Externally imposed fields are only initialized until the user-defined maxlevel_extEMfield_init.
// The default maxlevel_extEMfield_init value is the total number of levels in the simulation
if ( ( E_ext_grid_s == "constant" && (lev <= maxlevel_extEMfield_init) )
|| E_ext_grid_s == "default")
{
Efield_fp[lev][i]->setVal(E_external_grid[i]);
if (fft_do_time_averaging) {
Expand Down

0 comments on commit a02b3b6

Please sign in to comment.