Skip to content

Commit

Permalink
fix bug when hi-x wall moves in the y-direction
Browse files Browse the repository at this point in the history
  • Loading branch information
ajnonaka committed Nov 18, 2024
1 parent 66ae99d commit c01b583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src_common/MultiFabPhysBC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ void MultiFabPhysBCMacVel(MultiFab& vel, const Geometry& geom, int dim, int is_i
}
}

if ((dim != 0) && (bc_vel_lo[0] == 1 || bc_vel_hi[0] == 2) && (bx.bigEnd(0) > dom.bigEnd(0))) {
if ((dim != 0) && (bc_vel_hi[0] == 1 || bc_vel_hi[0] == 2) && (bx.bigEnd(0) > dom.bigEnd(0))) {
if (bc_vel_hi[0] == 1) { // slip
amrex::ParallelFor(bx,[=] AMREX_GPU_DEVICE (int i, int j, int k) noexcept
{
Expand Down

0 comments on commit c01b583

Please sign in to comment.