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

Functions

static CylindricalFunctorsLvl2 dg::geo::toroidal::createPsip ()
 constant \(\psi_p = 1\) More...
 
static CylindricalFunctorsLvl1 dg::geo::toroidal::createIpol ()
 constant \( I = 1\) More...
 
static dg::geo::TokamakMagneticField dg::geo::createToroidalField (double R0)
 Create a Toroidal Magnetic field. More...
 

Detailed Description

Function Documentation

◆ createIpol()

static CylindricalFunctorsLvl1 dg::geo::toroidal::createIpol ( )
inlinestatic

constant \( I = 1\)

Returns

◆ createPsip()

static CylindricalFunctorsLvl2 dg::geo::toroidal::createPsip ( )
inlinestatic

constant \(\psi_p = 1\)

Returns

◆ createToroidalField()

static dg::geo::TokamakMagneticField dg::geo::createToroidalField ( double  R0)
inlinestatic

Create a Toroidal Magnetic field.

\[ \psi_p(R,Z) = 1, \quad I(\psi_p) = 1\]

Parameters
R0the major radius
Returns
A magnetic field object
Note
The solovev field can also be made to model a todoidal slab field
Chooses elongation=a=1, triangularity=0 and description as "none"