nec2c

translation of the NEC2 FORTRAN source code to the C language

Install

All systems
curl cmd.cat/nec2c.sh
Debian Debian
apt-get install nec2c
Ubuntu
apt-get install nec2c
image/svg+xml Kali Linux
apt-get install nec2c
Fedora
dnf install nec2c
Windows (WSL2)
sudo apt-get update sudo apt-get install nec2c
Raspbian
apt-get install nec2c

nec2c

translation of the NEC2 FORTRAN source code to the C language

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.