File: README

package info (click to toggle)
necpp 1.5.0%2Bcvs20101003-2.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 3,948 kB
  • sloc: cpp: 34,532; ansic: 10,190; fortran: 8,339; python: 2,948; makefile: 200; ruby: 66; sh: 15
file content (31 lines) | stat: -rw-r--r-- 731 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
==Ruby necpp module==

This module allows you to do antenna simulations in Ruby using the nec2++ antenna
simulation package. This is a wrapper using SWIG of the C interface, so the syntax
is quite simple. Have a look at the file test.rb, for an example of how this 
library can be used.

==Author==

Tim Molteno. tim@physics.otago.ac.nz

==Instructions==

To use this library, you must have the necpp library installed on your system:

On Debian based systems:
	aptitude install necpp

==To generate this module==

You should install SWIG (on Debian 'aptitude install swig ruby-dev'), and then
issue the following commands

  swig -v -c++ -ruby necpp.i
  ruby extconf.rb
  make
  sudo make install

Then test with 

  ruby test.rb