Skip to content

Commit

Permalink
Fix bug in setting BCs at the xhi boundary in weno (#1134)
Browse files Browse the repository at this point in the history
  • Loading branch information
mukul1992 authored Jul 15, 2024
1 parent 3be7419 commit 76cd14f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions amr-wind/convection/incflo_godunov_weno.H
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void Godunov_weno_xbc(

} else if (i == domhi - 1) {

sm = -0.2 * s(domhi + 1, j, k, n) + 0.75 * s(domhi, j, k, n) +
sp = -0.2 * s(domhi + 1, j, k, n) + 0.75 * s(domhi, j, k, n) +
0.5 * s(domhi - 1, j, k, n) - 0.05 * s(domhi - 2, j, k, n);

sp = sedge1;
sm = sedge1;
}
}
}
Expand Down

0 comments on commit 76cd14f

Please sign in to comment.