forked from bendudson/pyTokamak
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
33 lines (21 loc) · 898 Bytes
/
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
Tokamak utilities in Python
===========================
B.Dudson, University of York
Routines for reading tokamak equilibria, calculating flux-surface
quantites such as safety factor, collision frequencies, and trapped
particle fraction. Neoclassical viscosities and Bootstrap current
calculation using Hirshman-Sigmar formalism
tokamak.equilibrium Defines classes FluxSurface and Equilibrium
for iterating over and performing calculations
on flux surfaces
tokamak.neoclass Neoclassical theory calculations
tokamak.formats.dskgato Reads DSKGATO 't' files
tokamak.formats.elite Reads ELITE .inp files
Requirements
============
NumPy
If SciPy is available, then this is used for the erf and integrate.quad functions.
Otherwise fall-back implementations are used
Examples
========
See the examples_xx.py files