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:-j0disables 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 (-ddalso 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
- nixos 26.05: xnec2c 4.4.18
- nixpkgs unstable: xnec2c 4.4.18
- ubuntu stonking: xnec2c 1:4.4.18-1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms