necpp icon indicating copy to clipboard operation
necpp copied to clipboard

NEC2++ is a C++ rewrite of the Numerical Electromagnetics Code (NEC-2) with many new features like automatic error detection when you specify the structure incorrectly and much faster execution. Nec2+...

Results 43 necpp issues
Sort by recently updated
recently updated
newest added

Hello, It looks like this is the similar issue to [Helix geometry ignores ITAG value #36](https://github.com/tmolteno/necpp/issues/36) but this time for PyNEC from necpp 1.7.3.2. When I create a helix I...

bug

size_t is the index type used for all containers in the STL. It is a 64 bit integer on 64 bit archs, and 32 bit on 32 bit archs. Using...

Hello there, I'm trying to build this project to no avail. Using the steps outlined in #70, the build proceeds further but still fails with this error. I am using...

This pragma is incompatible with older GCCs and CLANG: https://github.com/tmolteno/necpp/blob/870f110875ef7e1fc951cbd489fde20ac9a93284/src/nec2cpp.cpp#L590-L593 ``` [ 56s] nec2cpp.cpp: In function 'int readmn(FILE*, FILE*, char*, int*, int*, int*, int*, nec_float*, nec_float*, nec_float*, nec_float*, nec_float*, nec_float*)':...

According to: http://nicolas.limare.net/pro/notes/2014/10/31_cblas_clapack_lapacke/ > [LAPACKE](http://www.netlib.org/lapack/lapacke.html) is relatively recent (proposed in 2008, accepted in 2010) but it's the closest we have to a native C source-level interface to the original Fortran...

There is an erroneous `'` before the plot card: https://github.com/tmolteno/necpp/blob/870f110875ef7e1fc951cbd489fde20ac9a93284/testharness/data/K5332187.nec#L17 And `Richtanzenne` in the header/comment should be `Richtantenne`.

In nec_context.cpp excitation_loop never return FREQ_LOOP_CONTINUE, only FREQ_PRINT_NORMALIZATION if m_excitation_type is not 0 or 4 (which is the case of the plane wave)

bug

See [https://lists.gnu.org/archive/html/bug-m4/2021-03/msg00013.html](https://lists.gnu.org/archive/html/bug-m4/2021-03/msg00013.html) [https://github.com/doctest/doctest/issues/473](https://github.com/doctest/doctest/issues/473) As a temp work around, I define SIGSTKSZ to be 8192 ``` diff --git a/src/catch.hpp b/src/catch.hpp index 7c351e9..a5ed5e3 100644 --- a/src/catch.hpp +++ b/src/catch.hpp @@ -6478,6 +6478,7 @@...

https://github.com/tmolteno/necpp/blob/870f110875ef7e1fc951cbd489fde20ac9a93284/necpp.pc.in#L11 https://github.com/tmolteno/necpp/blob/870f110875ef7e1fc951cbd489fde20ac9a93284/configure.ac#L132-L136

The following example: ``` #!/usr/bin/python3 import PyNEC nec = PyNEC.nec_context() geo = nec.get_geometry() geo.wire(1, 9, 0, 0, 2, 0, 0, 7, .003, 1, 1) nec.geometry_complete(1) nec.set_extended_thin_wire_kernel(True) nec.fr_card(0, 1, 30, 0)...