-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tensor solver and extension of EB domain face (#1262)
## Summary ParmParse parameter eb2.extend_domain_face is now true by default. The reason for the change is that for most applications it's hard to imagine one would want it to be false. It will also solve the EB tensor solver issue when there is a cut cell just outside the domain abutting a covered valid cell. Recent changes to the tensor solvers are incorrect and are reverted here. They are incorrect because the ghost cells in the modified functions actually have values at the cell centered. Although the users put domain face values in the ghost cells, that is not what the solver does. The solver stores the boundary values in boundary registers. Before the stencil is being applied, bc function is called to fill the ghost cells with properly interpolated or extrapolated values so that the stencil operations are just like working on normal interior cells. Revert "Correcting tensor cross terms computation for periodic bcs (#1254)" This reverts commit 1197adc. Revert "Changing computation at inflow/outflow for tensor solve (#1235)" This reverts commit b391885. Revert "Changing computation at outflow for the EBTensor (#1187)" This reverts commit 9cd5388. ## Checklist The proposed changes: - [x] fix a bug or incorrect behavior in AMReX - [ ] add new capabilities to AMReX - [x] changes answers in the test suite to more than roundoff level - [x] are likely to significantly affect the results of downstream AMReX users - [ ] are described in the proposed changes to the AMReX documentation, if appropriate
- Loading branch information
1 parent
5f7a294
commit 6c36b5f
Showing
8 changed files
with
29 additions
and
576 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
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
Oops, something went wrong.