Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tmolteno/necpp
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++ can analyse radiating as well as scattering properties of structures. The simulation engine in Nec2++ is compiled into a library for easy integration into automatic antenna design systems or GUI tools. Examples are included for using Nec2++ from C/C++, Ruby and Python.
https://github.com/tmolteno/necpp
Last synced: 8 days ago
JSON representation
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++ can analyse radiating as well as scattering properties of structures. The simulation engine in Nec2++ is compiled into a library for easy integration into automatic antenna design systems or GUI tools. Examples are included for using Nec2++ from C/C++, Ruby and Python.
- Host: GitHub
- URL: https://github.com/tmolteno/necpp
- Owner: tmolteno
- License: gpl-2.0
- Created: 2012-03-22T22:40:22.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2024-09-04T01:41:55.000Z (2 months ago)
- Last Synced: 2024-10-02T06:54:01.346Z (about 2 months ago)
- Language: C++
- Homepage: http://elec.otago.ac.nz/w/index.php/Necpp
- Size: 2.77 MB
- Stars: 235
- Watchers: 34
- Forks: 64
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: COPYING
Awesome Lists containing this project
- awesome-hamradio - NEC2++
README
# NEC2++ Numerical Electromagnetic Code in C++
This is a free (GPL) electromagnetic simulation software compatable with NEC-2. It has been rewritten from the ground up.
Nec2++ consists of a library that can be called from C++, C, python and Ruby, and so it can incorporated
into other projects like GUI tools and automatic antenna optimization systems.There is also an executable necpp that can read antenna description files (like the original).
Nec2++ is developed on Debian linux, but will work on a variety of other operating systems.## Features
* NEC-2 syntax compatable.
* C, C++, Python and Ruby libraries included. Ideal for antenna optimization.
* Large designs can be simulated with tens of thousands of elements (to the limit of 64-bit address space)
* Geometry error detection. Throws exceptions if wires intersect or lie too close to one another.
* Simulate in different media (for example antennas in seawater) by modifying the dielectric properties.
* Uses fast numerical routines (BLAS and LAPACK). Can use the Intel MKL or OpenBLAS.## Citing NEC2++
If you use nec2++, please cite it as follows:
Timothy C.A. Molteno, ''NEC2++: An NEC-2 compatible Numerical Electromagnetics Code'', Electronics Technical Reports No. 2014-3, ISSN 1172-496X, October
2014.## Documentation
Online documentation built form the source code is available at http://tmolteno.github.io/necpp/.
A guide to [using nec2++ from python](http://astroelec.blogspot.co.nz/2015/05/modeling-antennas-in-python-with-nec2.html).## Installation
Instructions are in the file INSTALL.md.
## Links
* http://tmolteno.github.io/necpp/ Documentation
* https://github.com/lncgomz/UCNEC Java-Based GUI project
* https://github.com/tmolteno/python-necpp/ Python packages
* https://github.com/rcnlee/necpp.jl Julia wrapper for the python packages