Equilibrium, Surfaces, and Profile classes
Equilibrium
The Equilibrium
is the core class representing an MHD equilibrium configuration.
An EquilibriaFamily
is a list
like object for storing multiple equilibria.
|
Equilibrium is an object that represents a plasma equilibrium. |
EquilibriaFamily stores a list of Equilibria. |
Geometry
The desc.geometry
module contains important classes such as FourierRZToroidalSurface
for representing the shape of the plasma boundary, as well as classes for representing
the magnetic axis, cross section, and various space curves.
Toroidal surface represented by Fourier series in poloidal and toroidal angles. |
|
|
Curve parameterized by Fourier series for R,Z in terms of toroidal angle phi. |
|
Curve parameterized by Fourier series for X,Y,Z in terms of arbitrary angle s. |
|
Curve that lies in a plane. |
|
Curve parameterized by spline knots in X,Y,Z. |
A toroidal cross section represented by a Zernike polynomial in R,Z. |
Profiles
desc.profiles
contains objects representing 1-D flux functions such as pressure,
current, rotational transform, temperature, or density. It is also possible to combine
profiles together by addition, multiplication, or scaling.
|
Profile represented by a monic power series. |
|
Profile represented by a piecewise cubic spline. |
|
Profile represented by a modified hyperbolic tangent + polynomial. |
|
Profile times a constant value. |
|
Sum of two or more Profiles. |
|
Product of two or more Profiles. |
Utilities
desc.compat
has utility functions for enforcing sign conventions or rescaling
equilibria to a given size and/or field strength.
Convert an Equilibrium to have a positive coordinate Jacobian. |
|
Change the sign of the helicity of an Equilibrium. |
|
|
Rescale an Equilibrium in size L and magnetic field strength B. |