Skip to content

Conversation

@GiudGiud
Copy link
Contributor

@GiudGiud GiudGiud commented Dec 22, 2025

based on top of the hexagon tiling PR, ignore that content for now! It's in another PR

see companion PR in MOOSE creating a bunch of polys with exodus viz of the tets:
idaholab/moose#32141

@GiudGiud GiudGiud force-pushed the PR_poly_fixup branch 2 times, most recently from 5990f8c to 45a4142 Compare December 25, 2025 17:39
@GiudGiud GiudGiud changed the title Poly fixups WIP Changes to C0 polyhedron tetrahedralization loops Dec 28, 2025
if (local_tet_quality[j2] == 0 || local_tet_quality[j2] == far_node)
{
nodes_by_geometry.erase(geometry_it);
has_skipped_adding_tets_and_retriangulating = true;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the saddest part of this PR. If we could still work with a valid surface mesh it would be a lot safer

unfortunately I seem to need this for every planar 4 node face, we always end up with an empty final tet

…ns on two sides

that arise from extrusion
- dont create a 0 vol elements if we have 3 surrounding nodes and everybody is coplanar
- try to avoid this situation by improving as many potential 0-volume neighbor tets as possible
  when selecting which tet to construct
dont pick the second tet node that makes the future neighbors of size 0
- prioritize fixing more bad neighbors instead of always asking for quality
  improvements
- don't consider the future neighbors when building the final tet
- would trigger some asserts as down to 2 neighnor nodes
@moosebuild
Copy link

Job Coverage, step Generate coverage on 313097a wanted to post the following:

Coverage

9e7634 #4359 313097
Total Total +/- New
Rate 65.27% 65.32% +0.05% 81.57%
Hits 77397 77575 +178 177
Misses 41187 41193 +6 40

Diff coverage report

Full coverage report

Warnings

  • New new line coverage rate 81.57% is less than the suggested 90.0%

This comment will be updated on new commits.

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.

2 participants