Loading [MathJax]/extensions/tex2jax.js

dune-mmesh (1.4)

gmsh.cc

This is an example of how to build an MMesh using the .msh file format.

A simple cube2d.geo file for grid generation could be:

We can generate the .msh file using Gmsh by calling: gmsh -2 -format msh2 cube2d.geo. For 3D use: gmsh -3 -format msh2 cube3d.geo.

Then, we can create an MMesh instance with the following code.

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (Apr 9, 22:44, 2025)