.TH nec2c 1 "February 2015" "nec2c(1)" "Ham Radio Applications" .SH NAME \fBnec2c\fR \- Translation of the NEC2 FORTRAN source code to the C language .SH SYNOPSIS \fBnec2c\fR [/-i] [/-o][/-hv] .SH DESCRIPTION The translation was performed mostly "by hand" and a lot of modifications to the original program were introduced in order to modernize the NEC2 and to remove as many built-in limitations as possible. The attendant SOMNEC program was also translated to C and incorporated in nec2c as a function so that Sommerfeld ground solutions are a part of the program. .SH OPTIONS The \-i option is always needed and it specifies the name of the input file. The \-o switch is optional and it specifies the output file name. If not used, a name for the output file is made by stripping any extensions from the input file name and adding a ".out" extension, e.g. nec2c \-i yagi.nec will cause nec2c to read yagi.nec as the input file and produce yagi.out as the output file. .PP \fB\-i \fR\fB\fIinput filename\fR\fR .RS 4 Input File Name .RE .PP \fB\-o \fR\fB\fIoutput filename\fR\fR .RS 4 Output File Name .RE .PP \fB\-h \fR .RS 4 Print usage information and exit .RE .PP \fB\-v \fR .RS 4 Print nec2c version number and exit .RE .SH "AUTHORS" nec2c is Copyright \(co Neoklis Kyriazis 5B4AZ\&. .SH "COPYRIGHT" .br This manual page is Copyright \(co 2015 Dave Hibberd\&. .br .PP This manual page was written for the Debian system (but may be used by others)\&. .PP Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation\&. .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL-2\&. .SH "SEE ALSO" xnec2c(1)