How to set the isrequired if only the ith tet is wanted

In the " MMG3D_Get_tetrahedron", How to set the arrary “isrequired” if only the ith tet is needed.
Regards

Hi,

Sorry for the delay, I have missed your message.
I am not sure to understand your question:

  • the MMG3D_Get_tetrahedron function is a “getter” so you recover informations from Mmg. Thus, here, the “isRequired” integer allows to recover if the tetrahedron that you are getting is a “required” tetra;
  • to impose a required tetra, you must use the MMG3D_Set_requiredTetrahedron function and give the index of the tetra to preserve (i in your example).

Regards,

Algiane