Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed May 17, 2024
1 parent ab07778 commit ab6254b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Source/BoundaryConditions/PEC_Insulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -482,15 +482,15 @@ PEC_Insulator::ApplyPEC_InsulatortoField (
#if defined(WARPX_DIM_3D)
is_insulator_lo[1] = (area_parsers_y_lo(x, z) > 0._rt);
is_insulator_hi[1] = (area_parsers_y_hi(x, z) > 0._rt);
F_lo[1] = (set_F_x_lo ? Fx_y_lo_parser(x, z, time) : 0._rt);
F_hi[1] = (set_F_x_hi ? Fx_y_hi_parser(x, z, time) : 0._rt);
F_lo[1] = (set_F_y_lo ? Fx_y_lo_parser(x, z, time) : 0._rt);
F_hi[1] = (set_F_y_hi ? Fx_y_hi_parser(x, z, time) : 0._rt);
set_field_lo[1] = set_F_y_lo;
set_field_hi[1] = set_F_y_hi;
#endif
is_insulator_lo[WARPX_ZINDEX] = (area_parsers_z_lo(x, y) > 0._rt);
is_insulator_hi[WARPX_ZINDEX] = (area_parsers_z_hi(x, y) > 0._rt);
F_lo[WARPX_ZINDEX] = (set_F_x_lo ? Fx_z_lo_parser(x, y, time) : 0._rt);
F_hi[WARPX_ZINDEX] = (set_F_x_hi ? Fx_z_hi_parser(x, y, time) : 0._rt);
F_lo[WARPX_ZINDEX] = (set_F_z_lo ? Fx_z_lo_parser(x, y, time) : 0._rt);
F_hi[WARPX_ZINDEX] = (set_F_z_hi ? Fx_z_hi_parser(x, y, time) : 0._rt);
set_field_lo[WARPX_ZINDEX] = set_F_z_lo;
set_field_hi[WARPX_ZINDEX] = set_F_z_hi;

Expand Down Expand Up @@ -539,8 +539,8 @@ PEC_Insulator::ApplyPEC_InsulatortoField (
#endif
is_insulator_lo[WARPX_ZINDEX] = (area_parsers_z_lo(x, y) > 0._rt);
is_insulator_hi[WARPX_ZINDEX] = (area_parsers_z_hi(x, y) > 0._rt);
F_lo[WARPX_ZINDEX] = (set_F_x_lo ? Fy_z_lo_parser(x, y, time) : 0._rt);
F_hi[WARPX_ZINDEX] = (set_F_x_hi ? Fy_z_hi_parser(x, y, time) : 0._rt);
F_lo[WARPX_ZINDEX] = (set_F_z_lo ? Fy_z_lo_parser(x, y, time) : 0._rt);
F_hi[WARPX_ZINDEX] = (set_F_z_hi ? Fy_z_hi_parser(x, y, time) : 0._rt);
set_field_lo[WARPX_ZINDEX] = set_F_z_lo;
set_field_hi[WARPX_ZINDEX] = set_F_z_hi;

Expand Down Expand Up @@ -582,8 +582,8 @@ PEC_Insulator::ApplyPEC_InsulatortoField (
#if defined(WARPX_DIM_3D)
is_insulator_lo[1] = (area_parsers_y_lo(x, z) > 0._rt);
is_insulator_hi[1] = (area_parsers_y_hi(x, z) > 0._rt);
F_lo[1] = (set_F_x_lo ? Fz_y_lo_parser(x, z, time) : 0._rt);
F_hi[1] = (set_F_x_hi ? Fz_y_hi_parser(x, z, time) : 0._rt);
F_lo[1] = (set_F_y_lo ? Fz_y_lo_parser(x, z, time) : 0._rt);
F_hi[1] = (set_F_y_hi ? Fz_y_hi_parser(x, z, time) : 0._rt);
set_field_lo[1] = set_F_y_lo;
set_field_hi[1] = set_F_y_hi;
#endif
Expand Down

0 comments on commit ab6254b

Please sign in to comment.