Skip to content

Commit

Permalink
Merge branch 'main' into slice_SF_compressible_stag
Browse files Browse the repository at this point in the history
  • Loading branch information
ajnonaka committed Nov 20, 2024
2 parents 13f9d43 + 6041c07 commit 0ff568f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions exec/multispec/AdvanceTimestepBousq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ void AdvanceTimestepBousq(std::array< MultiFab, AMREX_SPACEDIM >& umac,
// set normal velocity of physical domain boundaries
MultiFabPhysBCDomainVel(umac[i],geom,i);
// set transverse velocity behind physical boundaries
int is_inhomogeneous = 1;
int is_inhomogeneous = 0;
MultiFabPhysBCMacVel(umac[i],geom,i,is_inhomogeneous);
// fill periodic and interior ghost cells
umac[i].FillBoundary(geom.periodicity());
Expand Down Expand Up @@ -707,7 +707,7 @@ void AdvanceTimestepBousq(std::array< MultiFab, AMREX_SPACEDIM >& umac,
// set normal velocity of physical domain boundaries
MultiFabPhysBCDomainVel(umac[i],geom,i);
// set transverse velocity behind physical boundaries
int is_inhomogeneous = 1;
int is_inhomogeneous = 0;
MultiFabPhysBCMacVel(umac[i],geom,i,is_inhomogeneous);
// fill periodic and interior ghost cells
umac[i].FillBoundary(geom.periodicity());
Expand Down
4 changes: 2 additions & 2 deletions exec/multispec/AdvanceTimestepInertial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ void AdvanceTimestepInertial(std::array< MultiFab, AMREX_SPACEDIM >& umac,
// set normal velocity of physical domain boundaries
MultiFabPhysBCDomainVel(umac[i],geom,i);
// set transverse velocity behind physical boundaries
int is_inhomogeneous = 1;
int is_inhomogeneous = 0;
MultiFabPhysBCMacVel(umac[i],geom,i,is_inhomogeneous);
// fill periodic and interior ghost cells
umac[i].FillBoundary(geom.periodicity());
Expand Down Expand Up @@ -598,7 +598,7 @@ void AdvanceTimestepInertial(std::array< MultiFab, AMREX_SPACEDIM >& umac,
// set normal velocity of physical domain boundaries
MultiFabPhysBCDomainVel(umac[i],geom,i);
// set transverse velocity behind physical boundaries
int is_inhomogeneous = 1;
int is_inhomogeneous = 0;
MultiFabPhysBCMacVel(umac[i],geom,i,is_inhomogeneous);
// fill periodic and interior ghost cells
umac[i].FillBoundary(geom.periodicity());
Expand Down
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 0ff568f

Please sign in to comment.