Skip to content

All tri for polygonal and polyhedra elements#4464

Draft
GiudGiud wants to merge 4 commits into
libMesh:develfrom
GiudGiud:PR_all_tri_pol
Draft

All tri for polygonal and polyhedra elements#4464
GiudGiud wants to merge 4 commits into
libMesh:develfrom
GiudGiud:PR_all_tri_pol

Conversation

@GiudGiud
Copy link
Copy Markdown
Contributor

@GiudGiud GiudGiud commented May 21, 2026

Have not reviewed it yet hence the draft

If there is such a label, should be marked as AI assisted

GiudGiud and others added 4 commits May 21, 2026 10:58
Splits each C0Polygon into the TRI3s defined by its existing
triangulation.  The per-element subelement container is changed from a
fixed-size array to a vector since polygons can produce more than the
6 subelements assumed for 2D/3D primitives, and max_subelems is now
computed by also scanning polygons in 2D meshes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Splits each C0Polyhedron into the TET4s defined by its existing
tetrahedralization.  The max_subelems scan is extended to also walk
polyhedra in 3D so the per-element subelement vector and global ID
offsets accommodate polyhedra that produce more than the 6 tets a HEX8
would.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Covers both tetrahedralization paths: a cube (no mid-element node) and
a hexagonal prism (mid-element node added to make the split work).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant