New Release of Gmsh Fortran API

Gmsh, the finite element meshing library has officially added a Fortran API that will be included in the next release 4.11.0. You can download the API today with fpm from the automatically updated repo gmsh-fpm, GitHub - gnikit/gmsh-fpm: Gmsh API using the Fortran Package Manager (fpm), where you will also find multiple examples showing how to use Gmsh in Fortran.

Suggestions to improve the API, especially on how optional arguments are handled, are welcome! Please keep in mind though that the API is autogenerated in the upstream GitLab repo (which is not fully open to the public).

9 Likes

Thanks for sharing. I used this library once a long time ago from C++. Looking at the front page, I could not find the Fortran API mentioned explicitly (although there is c, python, …). Could you/… (request to) add an explicit link to the Fortran interface on the front page?

1 Like

From what I understand the page is updated with every release. AFAIK we have updated the relevant docs and everything should be online with release 4.11.0.

1 Like