Skip to content

Commit

Permalink
Merge pull request seahorce-scidac#249 from hklion/foextrap_bc_periodic
Browse files Browse the repository at this point in the history
apply physical boundary conditions if using foextrap_bc type
  • Loading branch information
hklion authored Aug 21, 2024
2 parents 41830cf + f0c7e55 commit 1d912d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/BoundaryConditions/REMORA_PhysBCFunct.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void REMORAPhysBCFunct::operator() (MultiFab& mf, const MultiFab& msk, int icomp
// Create a grown domain box containing valid + periodic cells
Box gdomain = amrex::convert(domain, mf.boxArray().ixType());
for (int i = 0; i < AMREX_SPACEDIM; ++i) {
if (m_geom.isPeriodic(i)) {
if (m_geom.isPeriodic(i) and bccomp != BCVars::foextrap_bc) {
gdomain.grow(i, nghost[i]);
}
}
Expand Down

0 comments on commit 1d912d0

Please sign in to comment.