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.
