Extension: Geometries
#include "dg/geometries/geometries.h"
|
Classes | |
struct | dg::geo::solovev::Psip |
struct | dg::geo::solovev::PsipR |
struct | dg::geo::solovev::PsipRR |
struct | dg::geo::solovev::PsipZ |
struct | dg::geo::solovev::PsipZZ |
struct | dg::geo::solovev::PsipRZ |
struct | dg::geo::solovev::Ipol |
struct | dg::geo::solovev::IpolR |
struct | dg::geo::solovev::IpolZ |
struct | dg::geo::solovev::Parameters |
Constructs and display geometric parameters for the solovev and taylor fields. More... | |
Functions | |
static dg::geo::CylindricalFunctorsLvl2 | dg::geo::solovev::createPsip (const Parameters &gp) |
static dg::geo::CylindricalFunctorsLvl1 | dg::geo::solovev::createIpol (const Parameters &gp, const CylindricalFunctorsLvl1 &psip) |
static dg::geo::TokamakMagneticField | dg::geo::createSolovevField (dg::geo::solovev::Parameters gp) |
Create a Solovev Magnetic field. More... | |
static dg::geo::TokamakMagneticField | dg::geo::createModifiedSolovevField (dg::geo::solovev::Parameters gp, double psi0, double alpha, double sign=-1) |
DEPRECATED Create a modified Solovev Magnetic field. More... | |
|
inlinestatic |
|
inlinestatic |
DEPRECATED Create a modified Solovev Magnetic field.
Based on dg::geo::mod::Psip(gp)
and dg::geo::solovev::Ipol(gp)
We modify psi above a certain value to a constant using the dg::IPolynomialHeaviside
function (an approximation to the integrated Heaviside function with width alpha), i.e. we replace psi with IPolynomialHeaviside(psi). This subsequently modifies all derivatives of psi and the poloidal current.
gp | Solovev parameters |
psi0 | boundary value where psi is modified to a constant psi0 |
alpha | radius of the transition region where the modification acts (smaller is quicker) |
sign | determines which side of Psi to dampen (negative or positive, forwarded to dg::IPolynomialHeaviside ) |
|
inlinestatic |
|
inlinestatic |
Create a Solovev Magnetic field.
Based on dg::geo::solovev::Psip(gp)
and dg::geo::solovev::Ipol(gp)
gp | Solovev parameters |