This PR exposes the mixed (dimensional) assembly functions to C++ and adds a demo.
Some concerns popped up when doing this:
For entity maps we compare shared pointers. This means that the user has to use the shared_ptr from the dolfinx::fem::FunctionSpace to get this to work. It would be nicer to have a mesh comparison operator, but that would be expensive.
Would resolve #3113.
This PR also simplifies the newly created mesh independent form creation (#3263) such that the user can send in integration entities.
Added additional test that exposes this feature in the context of sub-meshes for a rank-1 tensor.
This PR exposes the mixed (dimensional) assembly functions to C++ and adds a demo.
Some concerns popped up when doing this:
dolfinx::fem::FunctionSpace
to get this to work. It would be nicer to have a mesh comparison operator, but that would be expensive.Would resolve #3113.
This PR also simplifies the newly created mesh independent form creation (#3263) such that the user can send in integration entities.
Added additional test that exposes this feature in the context of sub-meshes for a rank-1 tensor.