Skip to content

Commit

Permalink
Fix in getCellCoordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed Sep 1, 2024
1 parent e0de0b3 commit 1215684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Utils/WarpXUtil.H
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ void getCellCoordinates (int i, int j, int k,
amrex::ignore_unused(j);
x = domain_lo[0] + i*dx[0] + (1._rt - mf_type[0]) * dx[0]*0.5_rt;
y = 0._rt;
z = domain_lo[1] + j*dx[1] + (1._rt - mf_type[1]) * dx[1]*0.5_rt;
z = domain_lo[1] + k*dx[1] + (1._rt - mf_type[1]) * dx[1]*0.5_rt;
#else
x = domain_lo[0] + i*dx[0] + (1._rt - mf_type[0]) * dx[0]*0.5_rt;
y = domain_lo[1] + j*dx[1] + (1._rt - mf_type[1]) * dx[1]*0.5_rt;
Expand Down

0 comments on commit 1215684

Please sign in to comment.