Commit 49f78b3
authored
Correction to EB volume fraction for anisotropic grids (#4587)
## Summary
- This is a complementary PR to PR
#4586 by @nataraj2, for
enabling EB capabilities of AMReX for anisotropic grids.
- This PR makes changes to the implementation of volume fraction and
boundary centroid to extend them for anisotropic cases.
- These changes are backward compatible with isotropic grids, therefore,
it is safe for users of isotropic grids.
## Additional background
The use of anisotropic grids is significant in ERF applications.
## Checklist
The proposed changes:
- [x] fix a bug or incorrect behavior in AMReX
- [ ] add new capabilities to AMReX
- [ ] changes answers in the test suite to more than roundoff level
- [ ] are likely to significantly affect the results of downstream AMReX
users
- [ ] include documentation in the code and/or rst files, if appropriate1 parent 96d629b commit 49f78b3
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
0 commit comments