Skip to content

Commit

Permalink
unused var for 1D, 2D, RZ
Browse files Browse the repository at this point in the history
  • Loading branch information
RevathiJambunathan committed Mar 20, 2024
1 parent 93f8ae6 commit 866f32b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Particles/ParticleBoundaries_K.H
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,16 @@ namespace ApplyParticleBoundaries {
boundaries.xmin_bc, boundaries.xmax_bc,
boundaries.reflection_model_xlo(-ux), boundaries.reflection_model_xhi(ux),
engine);
#else
amrex::ignore_unused(rethermalize_x);
#endif
#ifdef WARPX_DIM_3D
apply_boundary(y, ymin, ymax, change_sign_uy, rethermalize_y, particle_lost,
boundaries.ymin_bc, boundaries.ymax_bc,
boundaries.reflection_model_ylo(-uy), boundaries.reflection_model_yhi(uy),
engine);
#else
amrex::ignore_unused(rethermalize_y);
#endif
apply_boundary(z, zmin, zmax, change_sign_uz, rethermalize_z, particle_lost,
boundaries.zmin_bc, boundaries.zmax_bc,
Expand Down

0 comments on commit 866f32b

Please sign in to comment.