SICONOS_COMPARE(1)
π SICONOS_COMPARE(1) π
okay bestie, welcome to the siconos_compare page, straight out of the User Commands corner of your manual. this is the lil tool that stares at two Siconos mechanics-IO HDF5 simulation files and goes "hmm, these are numericallyβ¦ how different exactly?" π¦
β¨ NAME β¨
siconos_compare β numerically compare the contents of two Siconos mechanics-IO HDF5 simulation files. that's it, that's the job. π
πΈ DESCRIPTION πΈ
here's the vibe, the whole usage situation, no cap:
usage: siconos_compare [-h] [--columns <colspec>] [--start <time>]
[--end <time>] [--interval <time>]
[--threshold <float>] [-V] <file> <file>
Description: this icon numerically compares the contents of two Siconos mechanics-IO HDF5 simulation files. and listen β the sole output on standard output is the maximum difference between the columns you picked for comparison. one number. that's the whole vibe check. β¨
the return code situation, which honestly is the main character here:
0gets returned if the maximum difference is less than the threshold1gets returned if it's greater than the threshold2gets returned if the files could not be opened or do not contain the necessary tables
π¨ and btw bestie, non-matching time indices shall be considered as failing the comparison. like, that's a fail, periodt.
π positional arguments π
<file>β your input files (HDF5). yes, plural. two of them. it needs both, it's a comparison, she can't compare alone π
π options π
-h,--helpβ show this help message and exit. the classic escape hatch, we love her π«Ά--columns <colspec>,-c <colspec>β the list of columns to include in the comparison. they're 0-indexed, comma-separated, and may be prefixed with the table name, plus you can stack multiple lists separated by semicolon. example, since we know you want one:"dynamic:0,1,2;cf:0,1,2". the default table is"dynamic". and for what any of these columns actually mean, go read the Siconos HDF5 file format docs, iykyk π--start <time>β start time in seconds from beginning the comparison β°--end <time>β end time in seconds end the comparison β°--interval <time>β amount of time after start to compare β³--threshold <float>β threshold for comparison. this is the line between a0and a1, so choose wisely bestie π―-V,--versionβ show program's version number and exit. she's self-aware, iconic π
π₯ SEE ALSO π₯
- The Siconos Software Documentation
- http://siconos.gforge.inria.fr
go read the docs, they ate π
and that's a wrap!! this was siconos_compare 4.5.0, dated January 2023 β slay, bye bestie π¦β¨π
π¦ where this page comes from
- debian bookworm: siconos-mechanics-tools 4.4.0+dfsg-2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms