Skip to content

Handle Real elements analogously to DG for tensor product cells#237

Merged
connorjward merged 3 commits intomainfrom
connorjward/handle-real
Mar 24, 2026
Merged

Handle Real elements analogously to DG for tensor product cells#237
connorjward merged 3 commits intomainfrom
connorjward/handle-real

Conversation

@connorjward
Copy link
Copy Markdown

This broke Firedrake last time this got merged so leaving as draft for now...

connorjward added a commit to firedrakeproject/firedrake that referenced this pull request Mar 18, 2026
@connorjward connorjward marked this pull request as ready for review March 23, 2026 12:02
@connorjward connorjward requested a review from pbrubeck March 23, 2026 12:03
Copy link
Copy Markdown

@pbrubeck pbrubeck left a comment

Choose a reason for hiding this comment

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

LGTM

Comment thread FIAT/discontinuous_lagrange.py Outdated
Comment thread FIAT/discontinuous_lagrange.py Outdated
@connorjward connorjward force-pushed the connorjward/handle-real branch from 87bd7fb to 63baca8 Compare March 24, 2026 09:56
@connorjward connorjward requested a review from pbrubeck March 24, 2026 13:53
@connorjward connorjward merged commit b0646c2 into main Mar 24, 2026
16 checks passed
@connorjward connorjward deleted the connorjward/handle-real branch March 24, 2026 14:25
connorjward added a commit to firedrakeproject/firedrake that referenced this pull request Mar 24, 2026
* Fixes for Real x extruded following firedrakeproject/fiat#237
* Don't special case Real so much
connorjward added a commit to firedrakeproject/firedrake that referenced this pull request Apr 1, 2026
Due to firedrakeproject/fiat#237 the embedding
element used to save a function no longer necessarily matches the one we
would now pick (because a CG element on an extruded mesh now reports its
family as CG instead of 'TensorProductElement').

Removing this assertion is sufficient to fix the tests.
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