Defining mesh domains with 0-level set


I’m interested in learning more about how mmg3d uses the level set method to define the meshing domain. From my understanding, the user is required to pass an initial mesh with the signed distance function values defined in the sol file at the nodes of this initial mesh. However, what happens if the SDF on this initial mesh does not contain zero values? Does mmg interpolate the location of the 0-level set for you and adjust elements to align with the 0-level set? Thanks

Great software!! Really enjoy using it.


Thank you for your enthousiasm!

Mmg uses a P1 interpolation to find the intersection of the 0-level set and the mesh edges and insert the needed points and boundaries. A short overview of the algorithm is available on the Mmg website.



1 Like