Alternative to vectorfunctionSpace


I have updated fenicsx from version 0.7 to 0.9. I noticed that the fem.vectorfunctionSpace instruction was removed. What would be the analogue form in this version? It does not appear in the changelog.

mesh = dolfinx.mesh.create_box(MPI.COMM_WORLD, [np.array([0,0,0]), np.array([L, B, H])], [Nx,Ny,Nz])
V = fem.vectorfunctionSpace(mesh, (“CG”, 1))
H = Function(V)


See, e.g., dolfinx/python/demo/ at dbbbf9167f662f4bcc2c45da5a5998433ae24863 · FEniCS/dolfinx · GitHub

This has also been mentioned in: What happened to VectorElement? - #4 by dokken