What does the Ref mean?

I’ve seen a variable called ref in some classes like MMG5_Edge、 MMG5_Tria。I also find it in the .mesh format。Excuse me, what does ref stand for?

I’m not an mmg developer but I’ll answer anyway. References are used to identify topological parts of the mesh. Let’s say you want to apply a boundary condition to a certain part of the mesh you will need to know which parts of the modified mesh belong to the same part of the original mesh. MMG will keep these topological informations during the modifications and it also will try to keep the boundaries between these sets.

1 Like

Thanks @Johannes_Neumann !