HI all. I am new to FEniCsx and I am trying to run some tutorial to get a general idea.
I am trying to run the tutorial on Stokes equation: Stokes equations with Taylor-Hood elements — DOLFINx 0.5.1 documentation
When I have to run the following part:
u, p = Function(V), Function(Q)
x = PETSc.Vec().createNest([_cpp.la.petsc.create_vector_wrap(u.x), _cpp.la.petsc.create_vector_wrap(p.x)])
ksp.solve(b, x)
I get the following error:
AttributeError: module ‘dolfinx.cpp.la.petsc’ has no attribute ‘create_vector_wrap’
Someone could help me with that?
Thank you.
Carlo.