gmk_hy(1)
π gmk_hy π
okay bestie, welcome to the Scotch user's manual page for gmk_hy(1) β yes, that's section 1, the real one, we're doing this properly π
π NAME π
gmk_hy, gmk_m2, gmk_m3, gmk_ub2 β create source graphs. that's it, that's the whole job, they make graphs for you π«Ά
β¨ SYNOPSIS β¨
gmk_hy [options] dim [ofile]
gmk_m2 [options] [-gcfile] dimX dimY [ofile]
gmk_m3 [options] [-gcfile] dimX dimY dimZ [ofile]
gmk_ub2 [options] dim
look at those four little lines just vibing π every single one matters, don't skip any.
π¦ DESCRIPTION π¦
so the gmk_* programs β the whole squad β create source graph files for some common, regular topologies. regular topologies = shapes that repeat nicely, no chaos, very organized, very demure β¨
here's who does what, no cap:
gmk_hyβ creates a hypercube of dimension dim.gmk_m2β creates a 2D regular grid of dimensions dimX and dimY.gmk_m3β creates a 3D regular grid of dimensions dimX, dimY and dimZ.gmk_ub2β creates an unoriented de Bruijn graph of dimension dim.
four besties, four topologies, all iconic π
π OPTIONS π
the way that every single one of these is here, in order, untouched, periodt:
-bbase β Forgmk_m2andgmk_m3only. Output graphs with base value set to base. Default value is0. so if you don't say anything, it's0, okay? π-eβ Forgmk_m2only. Build a8-neighbor grid rather than a4-neighbor grid. more neighbors more friends π«Ά-gcfileβ Forgmk_m2andgmk_m3only. Output graph vertex coordinates (that is, geometry data to be used bygout(1)) in file cfile. yesss givegout(1)the geometry it deserves π-hβ Display some help. short, sweet, helpful, a queen π-tβ Forgmk_m2andgmk_m3only. Create torus graphs, that is, graphs such that there exist loop edges between vertices of rank0and(dim-1)in every dimension. donut energy π© loop edges, wrap around, iconic.-Vβ Display program version and copyright.
πΈ EXAMPLE πΈ
Create a 5x7 grid along with its geometry:
$ gmk_m2 5 7 -g/tmp/m5x7.xyz /tmp/m5x7.grf
not me writing this exact command and it just working πβ¨ copy it character for character bestie, don't freestyle.
π SEE ALSO π
gbase(1), gmk_msh(1), gtst(1), gmap(1), gord(1), gout(1), amk_grf(1).
Scotch user's manual.
go read those too, they're all in the same friend group π
π AUTHOR π
Francois Pellegrini <francois.pellegrini@labri.fr>
π and that's the whole page, bestie. you ate. no notes. π
this masterpiece was served to you by the Scotch user's manual, dated 23 November 2019, and yeah we're still on gmk_hy(1) β iykyk πβ¨π¦
π¦ where this page comes from
- epel 9: scotch 6.1.2-3.el9 Β· CeCILL-C
- opensuse-leap 16.0: scotch 6.1.0-bp160.1.5 Β· CECILL-C
- opensuse-leap 16.0: scotch 6.1.0-bp160.1.5 Β· CECILL-C
- opensuse-leap 16.0: scotch 6.1.0-bp160.1.5 Β· CECILL-C
- opensuse-leap 16.0: scotch 6.1.0-bp160.1.5 Β· CECILL-C
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms