In my case, V is a mixed element function space which leads to the following error:
RuntimeError: Cannot tabulate coordinates for a mixed FunctionSpace.
I would appreciate if someone could help me on how to modify this. It would also help a lot if I could be pointed to an example based on mixed elements.
The coords variable in the original tutorial is used for plotting. Plotting a mixed element does not make sense, so what about commenting out that line snd subsequent calls related to it?
If you for some reason really want the coordinates, you Need to collapse each sub-space, and Get coordinates for each one.
In my case the mesh will evolve from one time step to another. Since the feature is not available in 0.5.x, I will have to interpolate manually the dofs from old mesh on to new one.
Are there community generated resources other than official tutorials whose knowledge might help with mixed elements in dolfinx?