Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for new UFL Constant #221

Open
miklos1 opened this issue Jul 11, 2020 · 0 comments
Open

Add support for new UFL Constant #221

miklos1 opened this issue Jul 11, 2020 · 0 comments
Labels

Comments

@miklos1
Copy link
Member

miklos1 commented Jul 11, 2020

UFL has revised its Constant node (https://bitbucket.org/fenics-project/ufl/pull-requests/116), and ufl.Constant no longer inherits from ufl.Coefficient, but directly from ufl.Terminal. This means that, given a pure UFL form, TSFC has no handler for Constants.

Firedrake is unaffected, because its own firedrake.Constant inherits directly from ufl.Coefficient and not from ufl.Constant. It is reasonable to also adopt the new UFL node in Firedrake at the same time when support is added to TSFC.

@miklos1 miklos1 added the fenics label Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant