Hi hernan,
I am having the same problem using:
# Refine mesh and adapt mesh function
cf = CellFunction('bool', mesh, True)
mesh_1 = refine(mesh, cf, redistribute=False)
adapt(subdomains, mesh_1)
Where subdomains is a MeshFunction on the mesh before refinement. My problem is that if I have a look at the subdomains plot after refinement, nothing is changed, and it seems like the mesh is not refined at all, or at least the adapt function is not working at all.
Do you have some suggestions please?
Thanks!