forked from AMReX-Codes/amrex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix FillPatchNLevels (AMReX-Codes#4117)
This fixes periodic boundary bugs in FillPatchNLevels. The issue is FillPatchNLevels calls FillPatchTwoLevels, which does not work if the destination MultiFab's valid region is outside periodic boundaries. So we need to make sure that that does not happen by shifting the boxes into valid domain.
- Loading branch information
1 parent
74127d6
commit ebd9a11
Showing
2 changed files
with
102 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ | |
|
||
#include <cmath> | ||
#include <limits> | ||
#include <map> | ||
|
||
namespace amrex | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters