XNEC2C(1)

πŸ’– XNEC2C(1) πŸ’–

okay bestie, welcome to the XNEC2C manual page, section 1 (User Commands, obviously), and no cap this one is a bop πŸŽ€


✨ NAME ✨

xnec2c β€” it's a GTK+ graphical interactive version of nec2c, and nec2c is a translation to C of the FORTRAN application NEC2. so like, your antenna math is FORTRAN-coded underneath but the whole vibe on top is sparkly GTK+ βœ¨πŸ¦‹


🌸 SYNOPSIS 🌸

xnec2c [-ijhvPVb] <input-file-name>

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so here's the whole rundown of what you can throw at it, bestie, go off πŸ’…

  • -i|--input <input-file-name> β€” tells it which input file to read, iconic behavior honestly
  • -j|--jobs <number of processors in SMP machine> β€” how many processors to use on your SMP machine. and listen: -j0 disables forking πŸ“
  • --openblas-threads <n> β€” set the OpenBLAS thread count (default: 1)
  • --mkl-threads <n> β€” set the Intel MKL thread count (default: 1)
  • --omp-threads <n> β€” set the OpenMP thread count (default: 1)
  • -b|--batch β€” enable batch mode, and it exits after the frequency loop runs. lowkey the introvert mode πŸ™ˆ
  • --optimize β€” activates the optimizer immediately. main character energy, it does not wait
  • -P|--no-pthreads β€” disable pthreads and use the GTK loop instead, for debugging
  • -h|--help β€” print usage information and exit
  • -V|--version β€” print the xnec2c version number and exit
  • -v|--verbose β€” increase verbosity, and yes you can specify it multiple times, stack it up bestie πŸ”₯
  • -d|--debug β€” enable debug output (-dd also includes backtraces πŸ‘€)
  • -d|--quiet β€” suppress debug/verbose output

🧚 the output-file girlies 🧚

so these next ones? they write to an output file after the frequency loop completes, and they're highkey useful to combine with --batch:

  • --write-csv <filename> β€” write CSV file of measurements
  • --write-s1p <filename> β€” write S1P file of S-parameters
  • --write-s2p-max-gain <filename> β€” write S2P file, port-2 is max-gain
  • --write-s2p-viewer-gain <filename> β€” write S2P file, port-2 is viewer-gain
  • --write-rdpat <filename> β€” write CSV of the radiation pattern
  • --write-currents <filename> β€” write CSV of currents and charges

πŸ’œ SEE ALSO πŸ’œ

full documentation is available at the official website for xnec2c, the Official xnec2c Website ⟨URL: https://www.xnec2c.org/⟩ 🌈

also, the full documentation for xnec2c is maintained as an html document. if the xnec2c program is properly installed at your site, a command like

firefox /usr/share/doc/xnec2c/xnec2c.html

should give you access to the complete manual. go read it, it's giving educated πŸ’…πŸ“š


and that's the whole thing, bestie 🫢 this was xnec2c version 4.4.18, dated August 2023, and the manual section is XNEC2C(1). slay, periodt πŸŒŸπŸ’–

πŸ“¦ where this page comes from