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

Fix bug that led to Quadrature Elements not being blocked. #583

Merged
merged 6 commits into from
Jul 15, 2023

Conversation

jhale
Copy link
Member

@jhale jhale commented Jul 10, 2023

The order of the logic in element_interface.py led to the built in FFCx type QuadratureElement always being handled
prior to the call to Basix's block element. This PR changes this to handle elements in order of higher-order types, FFCx types, and then finally UFL types.

It's not clear to be what the modern 'basix' way to handle QuadratureElements might be (regarding the warning).

@jhale jhale requested a review from mscroggs July 10, 2023 10:33
@jhale jhale changed the title Fix bug that lead to Quadrature Elements not being blocked. Fix bug that led to Quadrature Elements not being blocked. Jul 10, 2023
@jhale
Copy link
Member Author

jhale commented Jul 10, 2023

I've figured out how to construct the element with modern FFCx and Basix element constructors (rather than UFL) so I'll make that change first.

@jhale jhale merged commit c983143 into main Jul 15, 2023
@jhale jhale deleted the jhale/fix-element-conversion branch July 15, 2023 19:33
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.

1 participant