-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes alpha value bug causing flat tets on 2-material surfaces.
Certain data set inputs were generating flat tetrahedra on two material interface surfaces at various orientations. The cause was bad alpha value selection. The existing method for choosing safe alpha values only considered the tet flattening scenarios where vertices move towards eachother along a vertex altitude. However, they can also compress along edge altitudes. The shape of the tetrahedron will determine which direction collapses faster. This change adds a new method computeSafeAlphaLength2 which uses the edge altitude (lin segment orthogonal to two opposite edges on the tetrahedron.) The minimal safe alpha between the two is used for the vertex in question.
- Loading branch information
1 parent
9aa1b35
commit 59725cb
Showing
2 changed files
with
64 additions
and
4 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