Existing SHA1 digests verified, all found to be the same on the
machine holding the existing distfiles (morden). Existing SHA1
digests retained for now as an audit trail.
-----------------------
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.
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.