mmk_m2 [options] [-gcfile] dimX dimY [ofile] mmk_m3 [options] [-gcfile] dimX dimY dimZ [ofile]
mmk_m2 creates a 2D regular mesh of dimX times dimY elements and (dimX+1) times (dimY+1) nodes, such that element (i,j) is connected to nodes (i,j), (i,j+1), (i+1,j) and (i+1,j+1).
mmk_m3 creates a 3D regular mesh of dimX times dimY times dimZ elements and (dimX+1) times (dimY+1) times (dimZ+1) nodes, such that element (i,j,k) is connected to nodes (i,j,k), (i,j,k+1), (i,j+1,k), (i,j+1,k+1), (i+1,j,k), (i+1,j,k+1), (i+1,j+1,k) and (i+1,j+1,k+1).
$ mmk_m2 5 7 -g/tmp/m5x7.xyz /tmp/m5x7.msh