-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
68 lines (37 loc) · 1.13 KB
/
README
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
NEOART
======
Neoart is a code that calculates the neoclassical transport coefficients for
toroidal geometry
NOTE: This is a work in progress. At present only download the code if you
know what you are doing (and even then you may be disappointed)
Compilation
-----------
A simple
make
should do to compile Neoart and the tests.
Building Neoart
~~~~~~~~~~~~~~~
make neoart
Building the Matlab interface
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make matlab
Run matlab and change into the matlab directory. You should be able to run
neoart in matlab using the wrapper called by the command 'neoart'. Type 'help
neoart' for more information.
You can test your mexfile compilation by running test1.m in matlab. The output
should be:
ans =
3.7263e+07
coeff =
1.1645
vpol =
4.6578e+03
Compiling and running the tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tests are located in the tests directory. To compile and run all tests:
$ make tests
Building the Python interface
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You need to have numpy [1] and the Python development headers installed.
make python
[1] http://www.numpy.org