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

Classes

struct  dg::geo::guenter::Psip
 
struct  dg::geo::guenter::PsipR
 
struct  dg::geo::guenter::PsipRR
 
struct  dg::geo::guenter::PsipZ
 
struct  dg::geo::guenter::PsipZZ
 
struct  dg::geo::guenter::PsipRZ
 
struct  dg::geo::guenter::Ipol
 
struct  dg::geo::guenter::IpolR
 
struct  dg::geo::guenter::IpolZ
 

Functions

static CylindricalFunctorsLvl2 dg::geo::guenter::createPsip (double R_0)
 
static CylindricalFunctorsLvl1 dg::geo::guenter::createIpol (double I_0)
 
static dg::geo::TokamakMagneticField dg::geo::createGuenterField (double R_0, double I_0)
 Create a Guenter Magnetic field. More...
 

Detailed Description

Function Documentation

◆ createGuenterField()

static dg::geo::TokamakMagneticField dg::geo::createGuenterField ( double  R_0,
double  I_0 
)
inlinestatic

Create a Guenter Magnetic field.

\[\psi_p(R,Z) = \cos(\pi(R-R_0)/2)\cos(\pi Z/2),\quad I(\psi_p) = I_0\]

Parameters
R_0the major radius
I_0the current
Returns
A magnetic field object

◆ createIpol()

static CylindricalFunctorsLvl1 dg::geo::guenter::createIpol ( double  I_0)
inlinestatic

◆ createPsip()

static CylindricalFunctorsLvl2 dg::geo::guenter::createPsip ( double  R_0)
inlinestatic