mmk_m2(1)

πŸ“¦
version 7.0.17 Β· 2 versions
, in arch rolling, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 by gout(1)) in file cfile. 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 🌈

mord(1), mtst(1), gmk_msh(1).

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 πŸ¦‹πŸ’–πŸŽ€