Hi everyone.
By executing the following code:
mesh= RectangleMesh(Point(-0.5lx,0),Point(0.5lx,ly),nr,nt)#,“crossed”)
r_markers = MeshFunction(“bool”, mesh, mesh.topology().dim(),False)
filmx = CompiledSubDomain('x[1] > ‘+str(Hx-Hn) + ’ - tol’, tol=tol)
filmx.mark(r_markers, True)
adapt(mesh, r_markers)
I am getting this error related to adapt (Which does not occur using the previous release 2017.2.0):
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 Invoked with: <dolfin.cpp.generation.RectangleMesh object at 0x7fb0e549a200>, <dolfin.cpp.mesh.MeshFunctionBool object at 0x7fb0e545a030>
Has anyone enountered this issue when using 2018.1.0?
Is there a workaround?
Thanks is avance.
Carlos.