It is obvious when looking at the source code : https://github.com/MmgTools/mmg/blob/fe5ce205b47804546e4493ebfa542e3c7f5a1915/src/mmg3d/API_functions_3d.c#L943 However, MMG3D_Set_triangle (actually used in the examples) does not perform the switch.