summaryrefslogtreecommitdiff
path: root/ham/nec2c
AgeCommit message (Collapse)AuthorFilesLines
2014-10-14Update nec2c 1.1 to 1.3mef2-6/+6
----------------------- Version 1.2: Fixed four issues (defects) reported by Coverity Scan (https://scan.coverity.com/). Two of those were in the somnec functions and I suspect that they did effect the calculations in the rom1() and gshank() functions, at least under some circumstances. Unfortunately the original Fortran source (somnec.for), as the rest of the NEC2 Fortran source, is extremely difficult to read so I am not able to confirm the impact of those reported defects. Version 1.3: Revised the fix of one issue reported by Coverity Scan, as on more detailed comparison with the original Fortran code, it seems the original changes (in the ROM1 function in SOMNEC) were not correct. Unfortunately I cannot verify the correctness of the above fixes, as nec2c does not print out SOMNEC output files.
2013-07-20Import nec2c-1.1 as ham/nec2c.wiz4-0/+30
nec2c is a 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.