Extension: Geometries
#include "dg/geometries/geometries.h"
Inheritance diagram for dg::geo::circular::Psip:
[legend]

Public Member Functions

 Psip (double R0, double a, double b)
 Construct from major radius. More...
 
double do_compute (double R, double Z) const
 
- Public Member Functions inherited from dg::geo::aCylindricalFunctor< Psip >
double operator() (double R, double Z) const
  do_compute(R,Z) More...
 
double operator() (double R, double Z, double phi) const
  do_compute(R,Z) More...
 

Detailed Description

\[ \psi_p = 1- \left(\frac{R-R_0}{a}\right)^2 - \left( \frac{Z}{b}\right)^2 \]

gives ellipsoid flux surfaces

Constructor & Destructor Documentation

◆ Psip()

dg::geo::circular::Psip::Psip ( double  R0,
double  a,
double  b 
)
inline

Construct from major radius.

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

Member Function Documentation

◆ do_compute()

double dg::geo::circular::Psip::do_compute ( double  R,
double  Z 
) const
inline

The documentation for this struct was generated from the following file: