Skip to content

Fix interpolation for reordered Lagrange elements - #1088

Merged
garth-wells merged 3 commits into
FEniCS:mainfrom
vera-rubin:fix/reordered-interpolation
Oct 17, 2026
Merged

garth-wells merged 3 commits into
FEniCS:mainfrom
vera-rubin:fix/reordered-interpolation

Conversation

@vera-rubin

Copy link
Copy Markdown
Contributor

Custom DOF ordering left interpolation weights in reference order. We reorder matrix rows with the DOFs and columns with the sample points, keeping points unchanged when their count differs from the DOF count.

The regression covers equal and unequal counts in float32 and float64. The reproducer and existing DOF ordering, interpolation, lexicographic and tensor product tests pass in a Release build.

Fixes #1086

— ChipLab

@garth-wells
garth-wells enabled auto-merge October 17, 2026 16:08
@garth-wells
garth-wells added this pull request to the merge queue Oct 17, 2026
Merged via the queue into FEniCS:main with commit 5f28214 Oct 17, 2026
19 checks passed
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.

Reordered Legendre element returns interpolation coefficients in the reference order

2 participants