I have a mesh, and I refine it using the adapt function
mesh1 = adapt(mesh,markedCells)
In Fenics 2017.2, I was able to adapt a function from the original mesh onto the adapted one using the adapt function
u1 = adapt(u,mesh1)
Nevertheless, I am not able to do it in Fenics 2019.1. I get the following error:
TypeError: adapt(): incompatible function arguments. The following argument types are supported: 1. (arg0: dolfin.cpp.mesh.Mesh) -> dolfin.cpp.mesh.Mesh 2. (arg0: dolfin.cpp.mesh.MeshFunctionSizet, arg1: dolfin.cpp.mesh.Mesh) -> dolfin.cpp.mesh.MeshFunctionSizet
Is there this functionality on Fenics 2019.1?
Thank you in advance!