Impose equations on different subdomains from xml mesh

See for instance this demo. However, i would advice you to But use xml, But xdmf, as described in these two posts :

and

1 Like