Skip to content

delay creation of multifunction#5022

Merged
dham merged 2 commits intomainfrom
dham/delay_multifunction
Apr 13, 2026
Merged

delay creation of multifunction#5022
dham merged 2 commits intomainfrom
dham/delay_multifunction

Conversation

@dham
Copy link
Copy Markdown
Member

@dham dham commented Apr 13, 2026

Due to the limitations of the UFL typecode system, early instantiation of ufl multifunctions impedes the extension of the UFL language (for example by Irksome to include a time derivative). This PR delays the instantiation of a multifunction in Firedrake.

@dham dham requested a review from connorjward April 13, 2026 10:36
Comment thread firedrake/formmanipulation.py
@pbrubeck
Copy link
Copy Markdown
Contributor

pbrubeck commented Apr 13, 2026

I think IndexInliner is no longer needed and can be deleted, UFL already does this simplification at object creation.

@connorjward
Copy link
Copy Markdown
Contributor

I think IndexInliner is no longer needed and can be deleted, UFL already does this simplification at objection creation.

We are trying to get this in before release. That can probably be a later fix.

@dham dham merged commit 9a5c4f1 into main Apr 13, 2026
8 checks passed
@dham dham deleted the dham/delay_multifunction branch April 13, 2026 13:01
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.

3 participants