Create quadrature elements in C++ ver 0.8.dev0

Hello all,

How can I create a quadrature element in C++ now that the function fem::create_functionspace from UFCx function space has been removed?

@mscroggs can you help?


In the latest main of DOLFINx, you can use this constructor to create a quadrature element, then you can pass this element into create_functionspace.

(The 0.8.0 release of DOLFINx included the constructor from a UFCx function space, so the old method will work for anyone using the release.)


thanks, I didn’t realise version 0.8.0 is out, as it is not available on spack, yet.