Skip to content

Commit

Permalink
fix oops
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren committed Aug 28, 2024
1 parent 5341c27 commit d449292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/convection/incflo_compute_MAC_projected_velocities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ incflo::compute_MAC_projected_velocities (
(bc.lo(2) == BCType::direction_dependent && cc_arr(1,j,k-1,2) >= Real(0.0)) ) ) {
wmac_arr(i,j,k) = cc_arr(i,j,k-1,2);
}
if (k == dhi.z && ( bc.hi(2) == BCType::ext_dir) {
if (k == dhi.z && ( bc.hi(2) == BCType::ext_dir ||
(bc.hi(2) == BCType::direction_dependent && cc_arr(i,j,k+1,2) <= Real(0.0)) ) ) {
wmac_arr(i,j,k+1) = cc_arr(i,j,k+1,2);
}
Expand Down

0 comments on commit d449292

Please sign in to comment.