Skip to content

Commit

Permalink
be able to replace gradp inside objects too
Browse files Browse the repository at this point in the history
  • Loading branch information
mbkuhn committed Oct 24, 2024
1 parent 83ba48d commit 403632f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amr-wind/overset/overset_ops_routines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ void replace_gradp(
amrex::ParallelFor(
mf_gp, mf_gp.n_grow,
[=] AMREX_GPU_DEVICE(int nbx, int i, int j, int k) noexcept {
if (iblank[nbx](i, j, k) == -1) {
if (iblank[nbx](i, j, k) <= 0) {
gp[nbx](i, j, k, 0) = gp0[nbx](i, j, k, 0);
gp[nbx](i, j, k, 1) = gp0[nbx](i, j, k, 1);
gp[nbx](i, j, k, 2) = gp0[nbx](i, j, k, 2);
Expand Down

0 comments on commit 403632f

Please sign in to comment.