Releases: MmgTools/mmg
Releases · MmgTools/mmg
v5.2.1
v5.2.0
This release adds :
- input and output files at gmsh format;
- the reading of normals at boundary vertices for mmg3d and mmgs;
- the isovalue discretization for the mmgs software and library (MMGS_mmgsls API function);
- the -default option that creates a file containing the default parameters of Mmg. By modifying this file, you can impose local parameters (hmin, hmax, hausd) over different boundaries;
- the -octree option replace the -bucket one but it is not mandatory anymore to precise the octere size;
- a true fortran API and C++ API;
- new API functions to set/get the mesh entities (vertices, elements, boundaries) by arrays;
- FindMmg*.cmake files to help users to find the Mmg libraries using CMake.
It modifies the mmg3d library API:
- the MMG3D_Set_meshSize and MMG3D_Get_meshSize functions takes two additional arguments to be able to read prisms and quadrangles.
5.1.4
v5.1.2
v5.1.1
v5.1.0
Release/5.1.0
This release adds :
- the mmg2d application and library (for bidimensional mesh generation and isotropic/anisotropic mesh adaptation);
- the anisotropic mesh adaptation for mmg3d and mmgs;
- the mmgs library (API + mmgslib function);
- the mmg3dls library function corresponding to the -ls option of mmg3d (allow to discretize an implicit surface);
- manpages for the mmg2d, mmgs and mmg3d application (available in the doc/man directory).
It modifies the mmg3d library API:
- the API functions are now prefixed by MMG3D instead of MMG5;
- the 'MMG3D_Init_mesh' and 'MMG3D_Free_all' functions takes now a variable number of arguments. Please, refers to The documentation to see how to call it;
- the 'MMG5_loadMesh/saveMesh' functions are replaced by the 'MMG3D_loadMesh/saveMesh' ones that takes an additional parameter: the input our output name of the mesh file;
- the 'MMG5_loadMet/saveMet' functions are replaced by the 'MMG3D_loadSol/saveSol' ones that takes an additional parameter: the metric file name.
It modifies the 0 verbosity that don't print anything now.
It modifies the treatment of the input boundaries in mmg3d:
- if no triangles are provided, the boundary triangles are created with the reference of the associated tetrahedron (if the triangle is at the interface of 2 domains with different references, we take the minimum of the 2 refs);
- if some boundary triangles are provided twice, they are deleted;
- if some boundary triangles are missing, they are created with the reference of the associated tetrahedron (and the provided triangles are preserved);
- if triangles at the interface of 2 domains with same reference are provided they are deleted.
v5.1.0-beta5
This hotfix patch:
- a bug in the edge searching process in mmg2d;
- a bug in the quality computation of the worst element in mmg2d;
- a bug in MMGS_Set_meshSize function (thank to updega2 that correct this error);
- an error in the reading of the normals an ridges in mmgs (for ascii files).
It cleans:
- the mmg2d verbosity;
- the libraries headers.
v5.1.0-beta4
C++ compatibility using "extern "C"" keyword.
v5.1.0-beta3: Fix a bug in the mmg2d API:
Fix a bug in the mmg2d API:
if the MMG2D_mmg2dmesh function was called in a loop where only the memory associated to triangles and edges was freed (MMG2D_Free_triangles, MMG2D_Free_edges functions), the library was failing with an error message about a lack of memory.
v5.1.0-beta2: This hotfix includes:
This hotfix includes:
- a bug correction in the simultaneous reduction of matrices used in the mmg2d gradation;
- the hmin/hmax truncature for anisotropic adaptation with mmg2d;
- a bug correction in the mesh saving for mmg2d (the number of edges was false);
- forgotten unscaling when the mmg2d library fails;
- a bug correction in the metric definition at ridges (anisotropic adaptation with mmg3d);
- size truncature at hmin/hmax for the internal points an the regular surface points for anisotropic adaptation with mmg3d;
- missing getters for the mmg2d API;
- a bug correction in the precision of computation in eigenv file.
It changes:
- the MMG2D_loadSol interface (remove a useless argument).