QuadratureElement: construct directly from a QuadratureRule#187
QuadratureElement: construct directly from a QuadratureRule#187
Conversation
617510b to
ba18ca2
Compare
|
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. |
6f938d4 to
f803556
Compare
6ecf3a3 to
f3dd033
Compare
rckirby
left a comment
There was a problem hiding this comment.
Looks fine to me, do we have a use case? Or is this just a convenience function to go straight from rules to elements?
Also, I'm not sure what it means to apply this to RT1?
The use case is cross-mesh interpolation, which currently only works on target spaces that have point evaluation DOFs only. This PR enables creating an auxiliary point-evaluation-only space using the |
For cross-mesh interpolation into RT1 we need to generate a vertex only mesh on the quadrature points used by RT1. On this vertex-only mesh we then create a vector-valued P0 space. The interpolation is performed in two steps first go from the source space into the P0 space, and then evaluate the RT1 dofs from the P0 point data. |
Enables quadrature spaces on a
QuadratureRuledefined by a finat element