mtst(1)
π mtst β bestie's guide to testing source mesh consistency π
okay so you're in the Scotch user's manual, section 1, and the star of the show is mtst. she's here to vibe-check your meshes. let's get into it π«Ά
β¨ NAME β¨
mtst β test the consistency of source meshes π§
πΈ SYNOPSIS πΈ
mtst [options] [mfile] [lfile]
π¦ DESCRIPTION π¦
so mtst is out here checking the consistency of a Scotch source mesh, and she does it in a sequential way β no parallelism, just her, one step at a time, being thorough π
. and if everything passes? if it's all slay and no red flags? she outputs some statistics for you. like, real stats: stuff about edge weights, node and element vertex weights, and node and element vertex degrees. it's giving data. it's giving receipts πβ¨
now, about your source mesh file mfile β lowkey important β it can only be a centralized mesh file. that's the rule, no cap. and the resulting statistics get stored in file lfile. π
and when you don't specify file names at all? no stress, bestie β data is read from standard input and written to standard output. standard streams can also be explicitly represented by a dash '-', if that's your thing π
and here's the fun part: when the proper libraries have been included at compile time, mtst can directly handle compressed meshes, both as input and output π. a stream is treated as compressed whenever its name is postfixed with a compressed file extension, such as in 'brol.msh.bz2' or '-.gz'. the compression formats which can be supported are:
- the bzip2 format (
'.bz2') - the gzip format (
'.gz') - the lzma format (
'.lzma')
compression queen behavior, honestly π
π OPTIONS π
-hβ Display some help. (she's helpful like that π«Ά)-Vβ Display program version and copyright. (the lore, the legacy β¨)
π EXAMPLE π
Test the consistency of mesh brol.msh:
$ mtst brol.msh
look at her go. iconic. no notes π
β SEE ALSO β
Scotch user's manual.
π AUTHOR π
Francois Pellegrini <francois.pellegrini@labri.fr>
and that's the whole page, bestie!! written by the Scotch user's manual, dated 23 November 2019 β so yeah, she's been serving consistency checks since way back. go test those meshes, you got this πβ¨π
π¦ where this page comes from
- debian bookworm: scotch 7.0.3-2 Β· CeCILL-C
- debian trixie: scotch 7.0.7-1 Β· CeCILL-C
- ubuntu jammy: scotch 6.1.3-1 Β· CeCILL-C
- ubuntu noble: scotch 7.0.4-1ubuntu2 Β· CeCILL-C
- ubuntu questing: scotch 7.0.5-1ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms