equilibrium.hpp#
-
struct Equilibrium#
Struct to store the equilibrium data from EFIT in the G-EQDSK files
Single parameters
-
int idnum#
Id of file.
-
size_t nx#
Number of points in the R direction.
-
size_t ny#
Number of points in the z direction.
-
double rdim#
Dimensions of the represented grid in R (meters)
-
double zdim#
Dimensions of the represented grid in z (meters)
-
double rcentr#
Reference value for R (meters)
-
double bcentr#
Vacuum toroidal magnetic field at
rcentr(Tesla)
-
double rleft#
R at left (inner) boundary (meters)
-
double zmid#
z at middle of domain (meters)
-
double rmagx#
R at magnetic axis (O-point) (meters)
-
double zmagx#
z at magnetic axis (O-point) (meters)
-
double simagx#
Poloidal flux
psiat magnetic axis.
-
double sibdry#
Poloidal flux
psiat plasma boundary.
-
double cpasma#
Plasma current (Amperes)
Profiles
One dimensional profiles as function of
psiwhere the first value corresponds tosimagxand the last tosibdry.Boundaries description (optional)
-
size_t nbdry#
Number of points of plasma boundaries.
-
size_t nlim#
Number of points of wall limits.
Public Functions
-
inline Equilibrium(int id = 0, size_t nx = 0, size_t ny = 0)#
Default constructor
- Parameters
id – idnum
nx – Number of points in R
ny – Number of points in z
-
int idnum#