Input and output routines

\(\texttt{MMG3D_packMesh}\)

This function has to be used prior to saving the mesh. It consists of two stages:

  • At first, the vertices and tetrahedra of the mesh are packed, i.e. the "holes" in the tables mesh->point or mesh->tetra are corked: all the entities that have been removed during remeshing are replaced by elements that appear later in the same array. The resulting tables are therefore contiguous. The corresponding procedure is applied to the sol and met objects passed to the function.

  • In a second time, the function \(\texttt{MMG3D_bdryBuild}\) is called.