I have a simple 2d domain subdivided into 2 subdomains and a metric field defined on the whole domain.
I want to use mmg2d in order to adapt the mesh and its boundary according to the metric file but I also want that the adapted mesh takes into account the line delimiting the two subdomains.
I cannot adapt the two subdomains separately because I want the global mesh is conform between the two subdomains.
I thought to define an implicit edge by using a level-set method but I cannot adapt the mesh at the same time with mmg2d.
How can I do this operation (adapt the mesh while respecting an imposed line) ?
Is that possible with mmg2d ?