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

DiscontinuousElement: stash missing attributes #138

Merged
merged 1 commit into from
Mar 21, 2025

Conversation

pbrubeck
Copy link

@pbrubeck pbrubeck commented Mar 21, 2025

DiscontinuousElement did not set a ref_complex attribute, nor implemented get_reference_complex().

This PR initializes the basic attributes of DiscontinuousElement by calling FiniteElement.__init__. We do not want to call CiarletElement.__init__ here, as it will retrigger the solution of the Vandermonde system.

@pbrubeck
Copy link
Author

Passing tests firedrakeproject/firedrake#4140

@pbrubeck pbrubeck merged commit 2055eae into master Mar 21, 2025
8 checks passed
@pbrubeck pbrubeck deleted the pbrubeck/fix/ref-complex branch March 21, 2025 15:17
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