Create mesh in fenicsx from point and element array

Thanks for sharing the links.

It worked with below change and other dtype with np.int32. The post helped.

subdomains = dolfinx.mesh.meshtags(mesh, mesh.topology.dim, cells, np.array(matid[ii], dtype=np.int32))