-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix getitem for cases with incomplete domains (#385)
This is a fix for the global indexing mechanism in `MultiFab` that is needed in cases where the box array does not fully cover the domain. In those cases, the `__getitem__` is done twice, once to get all of the data including places where the ghost cells internal to the domain cover places that are not covered by valid cells, and a second time to ensure that in places where the ghost cells do overlap valid cells, that the data used is from the valid cells. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
d96b494
commit 47f5758
Showing
2 changed files
with
41 additions
and
11 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
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