Home |
Search |
Today's Posts |
#9
![]() |
|||
|
|||
![]()
There are only very few things I can think of why someone would like
to have more readable Nec2 code or port it to another language.. 1) To improve existing Nec2 code or add additional 'features'. Till now however I did not find very much (public available) additions to the default Nec2 core. 2) To understand how the Nec2 program does all calculation... If you are able to understand the whole thing I definitely think you should look further and not stay stucked on Nec-2. Otherwise I see no explicit reason why to port the (thoroughly tested) Nec2 sources from Fortran to C (or Cobol??). As a middle course one could consider a port to F77 or even F90. This would make things much more readable, but with a reduced risk of introducing new bugs.... I once integrated the original Nec2d- and the SomNec.exe's into a single executable to also use the Sommerfeld ground inside a frequency loop, so I am not completely unknown with the problems involved. (See Nec2dXS.exe (with sources) on the famous www.qsl.net/wb6tpu/swindex.html page) For freeware F77 compilers see: www.mingw.org or www.delorie.com/djgpp Nevertheless I very much welcome the effort of Neoklis of porting Nec2 sources to C. Who knows what Neoklis will do next to please us all... Greetings, Arie. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Porting NEC2 Fortran->C, need help | Antenna | |||
Porting NEC2 Fortran->C, need help | Antenna |