Transitioning from mesh.xml to mesh.xdmf, from dolfin-convert to meshio

Materials is already the mesh function you would use in your dx measure.

Please note that with only screenshots of snippets of code it is hard (and unlikely) that I or anyone else can resolve your issue.

Please put some effort into making a reproducible example or search the forum for similar topics, such as