Skip to content

Conversation

pbrubeck
Copy link
Contributor

Description

This enables variant and quad_scheme to be passed on to finat direclty from the FunctionSpace constructor.

I don't think that tests for quad_scheme are necessary at this point, as we already have tests for variant.

@pbrubeck pbrubeck force-pushed the pbrubeck/element-kwargs branch from e464470 to 3786c62 Compare September 30, 2025 14:21
@pbrubeck
Copy link
Contributor Author

We got an unrelated failure in parallel (no variants involved), maybe that's random. I'll rerun CI

Copy link
Contributor

@connorjward connorjward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that we know that some in the team don't like **kwargs too much I think we should let them review this. Personally I think this is fine since it means we won't need to change a bunch of functions every time a new option is added to the finite element constructor.

It would also be good for these to have type hints as there currently appears to be no type information for all of these very public functions.

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