I am trying to port to the last version of Dolfinx this notebook
I made some progress, not without effort.
I am now totally stuck on this line in the notebook
b = dolfinx.create_vector(V_alpha.dofmap.index_map, V_alpha.dofmap.index_map_bs)
So, V_alpha is a
dolfinx.fem.function.FunctionSpace, and the methods
dofmap.index_map_bs yield a
int objects respectively.
So the old function
dolfinx.create_vector) gets two arguments of such types.
dolfinx.fem.assemble.create_vector takes a
L: FormMetaClass object, as per source.
They look totally different! I am not even sure I understand what the “old” function was doing, as I cannot find the sources.
Any hint please in the right direction? I am really eager to understand, thanks a lot