mcv(1)

πŸ’– mcv β€” mesh file converter πŸ’–

okay bestie, welcome to mcv(1), straight out of the Scotch user's manual ✨ this is the little icon that takes your mesh files and flips them between formats, no cap πŸ¦‹


🌸 SYNOPSIS 🌸

mcv [options] [imfile] [omfile] [oxfile]

✨ DESCRIPTION ✨

so like, the mcv program converts Scotch mesh files from and to other external file formats. that's the whole vibe. converter behavior. periodt πŸ’…

file imfile gets converted into mesh file omfile, and if there's optional geometry data kicking around, it gets put in geometry file oxfile β€” but only if it is available. like, if it's not there, it's not there, we move on 🫢

when you don't specify file names, data is read from standard input and written to standard output. and yes, standard streams can also be explicitly represented by a dash '-'. she contains multitudes πŸ’–

and here's the slay part: when the proper libraries have been included at compile time, mcv 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, like in 'brol.msh.bz2' or '-.gz'. the compression formats which can be supported are the bzip2 format ('.bz2'), the gzip format ('.gz'), and the lzma format ('.lzma'). obsessed honestly πŸŽ€


πŸŽ€ OPTIONS πŸŽ€

  • -h β€” Display some help. that's it, that's the whole thing, she's helpful πŸ™ˆ
  • -iifmt β€” Set format of input mesh file, which can be:
    • bnum β€” Boeing-Harwell format. this is an elemental matrix format. heads up bestie: only square matrices are supported ⚠️ and in case the file contains several matrices, the num parameter lets the user provide the index of the matrix to convert, starting from 0. when the num parameter is not set, it is assumed to be 0. defaults, she loves them πŸ’œ
    • s β€” Scotch mesh format. the classic. the main character πŸ‘‘
  • -oofmt β€” Set format of output mesh file, which can be:
    • s β€” Scotch mesh format. and ngl, this is the only possible choice at the time being. no other options, that's the whole menu πŸ“
  • -V β€” Display program version and copyright. gotta give credit where credit is due, periodt ✨

🌈 EXAMPLE 🌈

convert a Harwell-Boeing elemental mesh into a Scotch mesh:

$ mcv -ib brol.hb brol.msh

look at her go πŸ˜­πŸ’–


πŸ¦‹ SEE ALSO πŸ¦‹

Scotch user's manual.


πŸ‘‘ AUTHOR πŸ‘‘

Francois Pellegrini <francois.pellegrini@labri.fr>


and that's the whole page bestie 🫢 this was the Scotch user's manual edition of mcv(1), dated 23 November 2019 β€” go convert something cute, ily, bye πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from