Skip to content

Commit

Permalink
patch FillFromCoarse so that it works with more than 1 refinement level
Browse files Browse the repository at this point in the history
  • Loading branch information
hklion committed Jan 15, 2025
1 parent 70171a9 commit 1ad7b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/BoundaryConditions/REMORA_FillPatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1ad7b11

Please sign in to comment.