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

Update variants #476

Merged
merged 8 commits into from
Apr 23, 2022
Merged

Update variants #476

merged 8 commits into from
Apr 23, 2022

Conversation

mscroggs
Copy link
Member

@mscroggs mscroggs commented Apr 22, 2022

Removed hacky usage of variant from UFL. Instead, FFCx should pick a sensible variant for elements. If the user wants to pick their own variant, a Basix element should be wrapped directly to avoid passing all the variant info via UFL. I've written a demo showing how to create elements directly from Basix (FEniCS/dolfinx#2140). This should be merged after that demo is available.

Added default variants for elements that need variants to be passed in following FEniCS/basix#436

@mscroggs mscroggs marked this pull request as draft April 22, 2022 07:43
@mscroggs mscroggs changed the title Don't use variants from UFL Update variants Apr 22, 2022
@mscroggs mscroggs marked this pull request as ready for review April 22, 2022 15:40
@mscroggs mscroggs merged commit 3d440ca into main Apr 23, 2022
@mscroggs mscroggs deleted the mscroggs/no-variants branch April 23, 2022 15:31
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