From f0c7e5525dfea43054ba7c81eeed79890ab3d30f Mon Sep 17 00:00:00 2001 From: Hannah Klion Date: Wed, 21 Aug 2024 10:49:34 -0700 Subject: [PATCH] apply physical boundary conditions if using foextrap_bc type --- Source/BoundaryConditions/REMORA_PhysBCFunct.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/BoundaryConditions/REMORA_PhysBCFunct.cpp b/Source/BoundaryConditions/REMORA_PhysBCFunct.cpp index a37e0ec..edfeab6 100644 --- a/Source/BoundaryConditions/REMORA_PhysBCFunct.cpp +++ b/Source/BoundaryConditions/REMORA_PhysBCFunct.cpp @@ -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]); } }