From 1ad7b11548b48adf4b0f3605fd7ca75f3ec5e6c5 Mon Sep 17 00:00:00 2001 From: Hannah Klion Date: Wed, 15 Jan 2025 13:13:38 -0800 Subject: [PATCH] patch FillFromCoarse so that it works with more than 1 refinement level --- Source/BoundaryConditions/REMORA_FillPatch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/BoundaryConditions/REMORA_FillPatch.cpp b/Source/BoundaryConditions/REMORA_FillPatch.cpp index 8b5fcfa..081624a 100644 --- a/Source/BoundaryConditions/REMORA_FillPatch.cpp +++ b/Source/BoundaryConditions/REMORA_FillPatch.cpp @@ -395,7 +395,7 @@ REMORA::FillCoarsePatch (int lev, Real time, MultiFab* mf_to_fill, MultiFab* mf_ // amrex::InterpFromCoarseLevel(mf, time, *cmf[0], 0, icomp, ncomp, geom[lev-1], geom[lev], // cphysbc, 0, fphysbc, 0, refRatio(lev-1), // mapper, domain_bcs_type, bccomp); - amrex::InterpFromCoarseLevel(*mf_to_fill, time, mf_crse[lev-1], 0, icomp, ncomp, geom[lev-1], geom[lev], + amrex::InterpFromCoarseLevel(*mf_to_fill, time, *mf_crse, 0, icomp, ncomp, geom[lev-1], geom[lev], null_bc, 0, null_bc, 0, refRatio(lev-1), mapper, domain_bcs_type, bccomp); }