Skip to content

Conversation

@pbrubeck
Copy link

@pbrubeck pbrubeck commented Sep 30, 2025

Enables quadrature spaces on a quadrature rule defined by a finat element

V = FunctionSpace(mesh, "CG", degree, variant="integral")

Q = FunctionSpace(mesh, "Quadrature", degree, quad_scheme=V.finat_element)

@pbrubeck pbrubeck force-pushed the pbrubeck/quad-element branch from 617510b to ba18ca2 Compare September 30, 2025 17:30
@pbrubeck
Copy link
Author

This approach applied to RT1 gives a scalar FunctionSpace with the same DOFs and entity associations/continuity as Crouzeix-Raviart. The reference values of RT1 live on this space, but maybe CrossMeshInterpolator would want a fully-discontinuous vector-valued quadrature space.

@pbrubeck
Copy link
Author

pbrubeck commented Sep 30, 2025

This approach applied to RT1 gives a scalar FunctionSpace with the same DOFs and entity associations/continuity as Crouzeix-Raviart. The reference values of RT1 live on this space, but maybe CrossMeshInterpolator would want a fully-discontinuous vector-valued quadrature space.

Maybe we shouldn't care about the discontinuities of the tangential components, as they are not involved in the DOFs. It should be fine as long as the normal component gets interpolated into the vector-valued quadrature space.

@pbrubeck pbrubeck force-pushed the pbrubeck/quad-element branch 5 times, most recently from 6f938d4 to f803556 Compare October 8, 2025 10:20
@pbrubeck pbrubeck changed the base branch from pbrubeck/quad-scheme to main October 8, 2025 19:11
@pbrubeck pbrubeck closed this Oct 16, 2025
@pbrubeck pbrubeck deleted the pbrubeck/quad-element branch October 16, 2025 09:57
@pbrubeck pbrubeck restored the pbrubeck/quad-element branch October 16, 2025 10:00
@pbrubeck pbrubeck reopened this Oct 16, 2025
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