Skip to content

v2.3.5

Choose a tag to compare

@tmolteno tmolteno released this 09 Nov 09:53
· 4 commits to master since this release

What's Changed

  • Update necpp_src to tmolteno/necpp@d32ed8f — see upstream changelog
    • Fixes #139 (Sommerfeld interpolation): c_ggrid::interpolate had its cache-guard branches exchanged relative to the NEC-2 reference INTRP, producing wire-order-dependent impedance, accepted power and gain over a Sommerfeld (GN 2) ground. Fixed upstream in necpp@e3f81e6; PyNEC 2.3.4 pinned a pre-fix snapshot, which is why it reproduced there. With the corrected guard, wire insertion order no longer affects results (verified bit-identical on the issue reproducer, impedance agreeing with the nec2c reference engine).
    • Fixes a non-terminating Sommerfeld integration regression (necpp#140): a loosened gshank() convergence floor degraded the Sommerfeld tables on decks with wires close to a GN 2 ground until the rom2() integrator never converged (endless ROM2 -- STEP SIZE LIMITED output). Floor restored; the issue #139 deck now completes in milliseconds.
    • Fixes nec2diff (#138) (affects the nec2++ package): negative values are now compared (any two negative values used to compare equal), sign flips give finite differences, and the exit status is 1 when files differ.
    • Regression tests added upstream for all of the above.
  • Behavior change carried over from necpp 2.3.5: completing the geometry with GE 1 (or -1) without a subsequent GN card now raises an exception at simulate time, instead of silently running free space. Free-space models should complete the geometry with GE 0 (geometry_complete(0)). The test_example1 example has been updated accordingly.

The issue #139 reproducer (reproduce.py) passes wire-order invariance against this release.

Full Changelog: v2.3.4...v2.3.5