Skip to content

Commit

Permalink
fix incomplete paranthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
RevathiJambunathan committed Nov 17, 2023
1 parent 52c71d9 commit 0ed8603
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Initialization/WarpXInitData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ 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) )
if ( ( B_ext_grid_s == "constant") && (lev <= maxlevel_extEMfield_init) )
{
Bfield_fp[lev][i]->setVal(B_external_grid[i]);
if (fft_do_time_averaging) {
Expand All @@ -783,7 +783,7 @@ 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) )
if ( ( E_ext_grid_s == "constant") && (lev <= maxlevel_extEMfield_init) )
{
Efield_fp[lev][i]->setVal(E_external_grid[i]);
if (fft_do_time_averaging) {
Expand Down

0 comments on commit 0ed8603

Please sign in to comment.