Skip to content

EB: Fix corner case#4687

Merged
WeiqunZhang merged 1 commit intoAMReX-Codes:developmentfrom
WeiqunZhang:eb_almost_regular
Sep 30, 2025
Merged

EB: Fix corner case#4687
WeiqunZhang merged 1 commit intoAMReX-Codes:developmentfrom
WeiqunZhang:eb_almost_regular

Conversation

@WeiqunZhang
Copy link
Copy Markdown
Member

When the EB cuts off a tiny corner, we may encounter situations where five faces have an aperture of one and the remaining face with an aperture of almost one. In such cases, roundoff errors can significantly affect the computation of the normal and the boundary centroid. This PR addresses the issue by treating faces that are only minimally cut as regular faces.

When the EB cuts off a tiny corner, we may encounter situations where five
faces have an aperture of one and the remaining face with an aperture of
almost one. In such cases, roundoff errors can significantly affect the
computation of the normal and the boundary centroid. This PR addresses the
issue by treating faces that are only minimally cut as regular faces.
@WeiqunZhang WeiqunZhang marked this pull request as ready for review September 30, 2025 17:15
@WeiqunZhang WeiqunZhang merged commit c7d93ba into AMReX-Codes:development Sep 30, 2025
75 checks passed
@WeiqunZhang WeiqunZhang deleted the eb_almost_regular branch September 30, 2025 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EB generation fails for STL files with certain EB options

2 participants