Extension: Geometries
#include "dg/geometries/geometries.h"

Approximate \( \mathcal{K}^{Z}_{\nabla B} \). More...

Inheritance diagram for dg::geo::CurvatureNablaBZ:
[legend]

Public Member Functions

 CurvatureNablaBZ (const TokamakMagneticField &mag, int sign)
 
double do_compute (double R, double Z) const
 
- Public Member Functions inherited from dg::geo::aCylindricalFunctor< CurvatureNablaBZ >
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

Approximate \( \mathcal{K}^{Z}_{\nabla B} \).

\( \mathcal{\hat{K}}^{\hat{Z}}_{\nabla B} =\frac{1}{ \hat{B}^2} \frac{\partial \hat{B}}{\partial \hat{R}} \)

Note
We implicitly assume the toroidal field line approximation, i.e. all curvature and other perpendicular terms assume that the perpendicular direction lies within the R-Z planes of a cylindrical grid (The plane \( \perp \hat{ e}_\varphi\) )

Constructor & Destructor Documentation

◆ CurvatureNablaBZ()

dg::geo::CurvatureNablaBZ::CurvatureNablaBZ ( const TokamakMagneticField mag,
int  sign 
)
inline

Member Function Documentation

◆ do_compute()

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

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