What does the function MMG2D_boulet() do?

The function MMG2D_boulet(MMG5_pMesh mesh,int start,int8_t ip,int *list) in the file boulep_2d.c confuses me。
Can anyone explain what this function means and why this function is used? Please!

Hi,

this function build the list of triangles to which belongs a given vertex (let say vertex of global index np).
Instead of providing global index of the searched vertex we provide its local index (ip) in the triangle from which we will start the research (triangle number start). Thus mesh->tria[start].v[ip] = np.

I hope that it will help.

Best Regards,
Algiane