Dear Sir
I need to extract a subdomain(interior=1) from a domain that contains 4 subdomains. But I am facing the following problem.
thermal_mesh=MeshView.create(interior,1)
NameError: name ‘MeshView’ is not defined
thermal_mesh=MeshView.create(interior,1)
print("number of cells in thermal cells:",thermal_mesh.num_cells())
print("number of nodes in thermal cells:",thermal_mesh.num_vertices())
W1=FunctionSpace(thermal_mesh, "CG", 1)