M2GMETIS(1)

✨ m2gmetis ✨

okay bestie, gather round 🫢 this is m2gmetis β€” the little command that converts a mesh into a graph that is compatible with METIS. that's the whole vibe. mesh goes in, METIS-friendly graph comes out. iconic behavior honestly πŸ’…


🌸 SYNOPSIS 🌸

m2gmetis [options] <meshfile> <graphfile>

πŸ’– DESCRIPTION πŸ’–

πŸŽ€ Required parameters

these are not optional, bestie. you have to give her these two. no skipping, no "I'll add it later" πŸ™ˆ

  • meshfile β€” this is where your input mesh lives. she stores the input mesh, periodt.
  • graphfile β€” the filename of the output graph. yes, you name the thing she's about to make. main character energy.

⭐ Optional parameters

these are the lil extras, the accessories to the outfit ✨

  • -gtype=string β€” tells her which graph to generate. the possible values are:
    • dual β€” Generate dual graph of the mesh [default]
    • nodal β€” Generate the nodal graph of the mesh
  • -ncommon=int β€” [applies when gtype=dual] this one specifies the common number of nodes that two elements must have in order to put an edge between them in the dual graph. Default is 1.
  • -dbglvl=int β€” Selects the dbglvl. that's it, that's the whole job πŸ›
  • -help β€” Prints this message. she's helping!! 🫢

ngl bestie, if you forget -help exists you will simply be guessing. she is RIGHT there.

and that's the page πŸ’œ lowkey a classic. m2gmetis 5.1.0.3, born July 2025 β€” go forth and graph, you absolute legend πŸ‘‘ 🌈


πŸ“¦ where this page comes from