mmk_m2(1)
π mmk_m2 β create source meshes π
okay bestie, welcome to the Scotch user's manual β¨ you're literally about to meet mmk_m2 and mmk_m3, the twin duo whose whole entire job is making source mesh files. no cap. π¦
πΈ NAME πΈ
mmk_m2, mmk_m3 β create source meshes π
β¨ SYNOPSIS β¨
mmk_m2 [options] [-gcfile] dimX dimY [ofile]
mmk_m3 [options] [-gcfile] dimX dimY dimZ [ofile]
likeβ¦ that's the whole vibe check right there π
π DESCRIPTION π
so the mmk_* programs (the whole little family, asterisk and all) create source mesh files for some common, regular topologies. iconic behaviour fr fr π
mmk_m2 creates a 2D regular grid 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). that's it, that's the grid, she's serving corners π
mmk_m3 creates a 3D regular grid 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). eight whole nodes. the way that she justβ¦ cubes π§π
π OPTIONS π
-gcfileβ outputs graph vertex coordinates (that is, geometry data to be used bygout(1)) in filecfile. so cute, so geometric π-hβ display some help. she's helpful AND pretty π«Ά-Vβ display program version and copyright. gotta give credit where credit is due π
π₯ EXAMPLE π₯
create a mesh of 5x7 elements, along with its geometry:
$ mmk_m2 5 7 -g/tmp/m5x7.xyz /tmp/m5x7.msh
ate. no crumbs. πβ¨
π SEE ALSO π
Scotch user's manual. π
π AUTHOR π
Francois Pellegrini <francois.pellegrini@labri.fr> β the actual legend, we stan π«Άπ
and that's the whole page bestie!! this little cutie dropped on 02 April 2021, and it's part of the Scotch user's manual, filed under mmk_m2(1). now go make some grids, you gorgeous genius π¦ππ
π¦ where this page comes from
- debian bookworm: scotch 7.0.3-2 Β· CeCILL-C
- debian trixie: scotch 7.0.7-1 Β· CeCILL-C
- ubuntu noble: scotch 7.0.4-1ubuntu2 Β· CeCILL-C
- ubuntu questing: scotch 7.0.5-1ubuntu2
- ubuntu resolute: scotch 7.0.11-1ubuntu1 Β· CeCILL-C
- ubuntu stonking: scotch 7.0.15-4ubuntu1 Β· CeCILL-C
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms