FEniCS / dolfinx

Next generation FEniCS problem solving environment
https://fenicsproject.org
GNU Lesser General Public License v3.0
792 stars 182 forks source link

Add C++ demo that shows mixed elements and consistency fixes for element spaces #3500

Closed garth-wells closed 1 week ago

garth-wells commented 2 weeks ago

This PR adds a mixed Poisson C++ demo. It is the first mixed method C++ demo added to DOLFINx.

Adding this demo exposed some bugs, incorrect docs and some clumsy code. Fixes include:

There are no changes to the Python interface.