Extension: Geometries
#include "dg/geometries/geometries.h"
Collaboration diagram for The Circular expansion:

Classes

struct  dg::geo::circular::Psip
 
struct  dg::geo::circular::PsipR
 
struct  dg::geo::circular::PsipZ
 

Functions

static CylindricalFunctorsLvl2 dg::geo::circular::createPsip (double R0, double a, double b)
 \( \psi_p = 1- \left(\frac{R-R_0}{a}\right)^2 - \left( \frac{Z}{b}\right)^2 \) gives ellipsoid flux surfaces More...
 
static CylindricalFunctorsLvl1 dg::geo::circular::createIpol (double I0)
 constant \( I = I_0\) More...
 
static dg::geo::TokamakMagneticField dg::geo::createCircularField (double R0, double I0, double a=1, double b=1)
 \( \psi_p = 1- \left(\frac{R-R_0}{a}\right)^2 - \left( \frac{Z}{b}\right)^2,\quad I(\psi_p) = I_0 \) More...
 

Detailed Description

Function Documentation

◆ createCircularField()

static dg::geo::TokamakMagneticField dg::geo::createCircularField ( double  R0,
double  I0,
double  a = 1,
double  b = 1 
)
inlinestatic

\( \psi_p = 1- \left(\frac{R-R_0}{a}\right)^2 - \left( \frac{Z}{b}\right)^2,\quad I(\psi_p) = I_0 \)

Create a Magnetic field with ellipsoid flux surfaces and constant current

Parameters
R0the major radius
I0the current
athe length of R semi-axis
bthe length of Z semi-axis
Returns
A magnetic field object
Note
Chooses elongation=a=1, triangularity=0 and description as standardO

◆ createIpol()

static CylindricalFunctorsLvl1 dg::geo::circular::createIpol ( double  I0)
inlinestatic

constant \( I = I_0\)

Returns

◆ createPsip()

static CylindricalFunctorsLvl2 dg::geo::circular::createPsip ( double  R0,
double  a,
double  b 
)
inlinestatic

\( \psi_p = 1- \left(\frac{R-R_0}{a}\right)^2 - \left( \frac{Z}{b}\right)^2 \) gives ellipsoid flux surfaces

Parameters
R0the major radius
athe length of R semi-axis
bthe length of Z semi-axis
Returns