This is an interface to various mesh generators, in particular triangle. It also provides functions to optimize the numbering of mesh points and to export meshes and piecewise linear functions defined on them to TikZ, Scilab, Matlab, and Mathematica formats.
This library defines a data structure for triangular meshes and provides several functions to manipulate them. In particular, a binding to Triangle is provided. It also allows to export meshes of functions defined on their nodes to LaTeX, SciLab, Matlab, Mathematica, and Graphics.
The easier way to install this library is using opam. It is divided in multiple packages with
mesh being the base one, providing the fundamental structure ans output functions and the other one being bindings to mesh generation programs/libraries and graphical output.
opam install mesh
opam install mesh-display
opam install mesh-easymesh
opam install mesh-triangle
If you clone this repository, you can compile the code with
make after installing the dependencies listed in the