|
Extension: Geometries
#include "dg/geometries/geometries.h"
|
Meta-data about the magnetic field in particular the flux function. More...
Public Member Functions | |
| MagneticFieldParameters () | |
| Default values are for a Toroidal field. | |
| MagneticFieldParameters (double a, double elongation, double triangularity, equilibrium equ, modifier mod, description des) | |
| Constructor. | |
| double | a () const |
| The minor radius. | |
| double | elongation () const |
| \( e := \frac{\max Z_{\mathrm{lcfs}} - \min Z_{\mathrm{lcfs}}}{2a}\) | |
| double | triangularity () const |
| \( \delta := \frac{R_0 - R_X}{a}\) | |
| equilibrium | getEquilibrium () const |
| the way the flux function is computed | |
| modifier | getModifier () const |
| the way the flux function is modified | |
| description | getDescription () const |
| how the flux function looks | |
Meta-data about the magnetic field in particular the flux function.
The purpose of this is to give a unified set of parameters for all equilibria that can be used to stear program execution based on characteristics of the magnetic flux functions (for example double X-point vs single X-point vs no X-point)
|
inline |
Default values are for a Toroidal field.
|
inline |
Constructor.
| a | The minor radius; the purpose of this parameter is not to be exact but to serve as a refernce of how to setup the size of a simulation box |
| elongation | (maximum Z - minimum Z of lcfs)/2a; 1 for a circle; the purpose of this parameter is not to be exact but more to be a reference of how to setup the aspect ratio of a simulation box |
| triangularity | (R_0 - R_X) /a; The purpose of this parameter is to find the approximate location of R_X (if an X-point is present, Z_X is given by elongation) the exact location can be computed by the findXpoint function |
| equ | the way the flux function is computed |
| mod | the way the flux function is modified |
| des | human readable descriptor of how the flux function looks |
|
inline |
The minor radius.
the purpose of this parameter is not to be exact but to serve as a refernce of how to setup the size of a simulation box
|
inline |
\( e := \frac{\max Z_{\mathrm{lcfs}} - \min Z_{\mathrm{lcfs}}}{2a}\)
(1 for a circle); the purpose of this parameter is not to be exact but more to be a reference of how to setup the aspect ratio of a simulation box
|
inline |
how the flux function looks
|
inline |
the way the flux function is computed
|
inline |
the way the flux function is modified
|
inline |
\( \delta := \frac{R_0 - R_X}{a}\)
The purpose of this parameter is to find the approximate location of R_X (if an X-point is present, Z_X is given by elongation) the exact location can be computed by the findXpoint function