33 Psip(
double R_0 ): R_0(R_0) {}
36 return cos(
M_PI*0.5*(R-R_0))*cos(
M_PI*Z*0.5);
static CylindricalFunctorsLvl2 createPsip(double R_0)
Definition: guenter.h:137
static CylindricalFunctorsLvl1 createIpol(double I_0)
Definition: guenter.h:142
static dg::geo::TokamakMagneticField createGuenterField(double R_0, double I_0)
Create a Guenter Magnetic field.
Definition: guenter.h:158
@ guenter
dg::geo::guenter::Psip
@ square
closed flux surfaces centered around an O-point and bordered by a square with four X-points in the co...
This struct bundles a function and its first derivatives.
Definition: fluxfunctions.h:182
This struct bundles a function and its first and second derivatives.
Definition: fluxfunctions.h:219
Meta-data about the magnetic field in particular the flux function.
Definition: magnetic_field.h:91
A tokamak field as given by R0, Psi and Ipol plus Meta-data like shape and equilibrium.
Definition: magnetic_field.h:162
Represent functions written in cylindrical coordinates that are independent of the angle phi serving ...
Definition: fluxfunctions.h:66
Definition: guenter.h:112
double do_compute(double R, double Z) const
Definition: guenter.h:114
Ipol(double I_0)
Definition: guenter.h:113
Definition: guenter.h:122
double do_compute(double R, double Z) const
Definition: guenter.h:124
IpolR()
Definition: guenter.h:123
Definition: guenter.h:131
double do_compute(double R, double Z) const
Definition: guenter.h:133
IpolZ()
Definition: guenter.h:132
Psip(double R_0)
Definition: guenter.h:33
double do_compute(double R, double Z) const
Definition: guenter.h:34
PsipR(double R_0)
Definition: guenter.h:46
double do_compute(double R, double Z) const
Definition: guenter.h:47
PsipRR(double R_0)
Definition: guenter.h:59
double do_compute(double R, double Z) const
Definition: guenter.h:60
PsipRZ(double R_0)
Definition: guenter.h:99
double do_compute(double R, double Z) const
Definition: guenter.h:100
PsipZ(double R_0)
Definition: guenter.h:73
double do_compute(double R, double Z) const
Definition: guenter.h:74
PsipZZ(double R_0)
Definition: guenter.h:86
double do_compute(double R, double Z) const
Definition: guenter.h:87