Skip to content

Renumber simplex reference cells#1028

Draft
mscroggs wants to merge 9 commits into
mainfrom
mscroggs/reorder-simplices
Draft

Renumber simplex reference cells#1028
mscroggs wants to merge 9 commits into
mainfrom
mscroggs/reorder-simplices

Conversation

@mscroggs

@mscroggs mscroggs commented Jun 17, 2026

Copy link
Copy Markdown
Member

Renumber the entities of the triangle and tetrahedron reference cells to follow the consistent convention proposed in #1020.

Following this PR. The triangle and tetrahedron reference cells are numbered like this:

image image

For reference, the numbering before this PR is:

image image

@mscroggs mscroggs marked this pull request as draft June 17, 2026 07:58
@jorgensd

Copy link
Copy Markdown
Member

This has to be introduced very carefully, as this will break all IO permutations we have made in DOLFINx and any other IO library.

@mscroggs mscroggs changed the title Renumber simplex reference cell Renumber simplex reference cells Jun 18, 2026
@jorgensd

jorgensd commented Jun 18, 2026

Copy link
Copy Markdown
Member

This has to be introduced very carefully, as this will break all IO permutations we have made in DOLFINx and any other IO library.

Furthermore, this will break any checkpoint made by adios4dolfinx or io4dolfinx made prior to this merge, as this will affect the element dof layout and I guess the cell permutations and facet permutation will differ?

@mscroggs

Copy link
Copy Markdown
Member Author

This has to be introduced very carefully, as this will break all IO permutations we have made in DOLFINx and any other IO library.

Yes, hence "draft" for now

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