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

Approximate \( \vec{\nabla}\cdot \mathcal{K}_{\vec{\kappa}} \). More...

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

Public Member Functions

 DivCurvatureKappa (const TokamakMagneticField &mag, int sign)
 
double do_compute (double R, double Z) const
 
- Public Member Functions inherited from dg::geo::aCylindricalFunctor< DivCurvatureKappa >
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 \( \vec{\nabla}\cdot \mathcal{K}_{\vec{\kappa}} \).

\( \vec{\hat{\nabla}}\cdot \mathcal{\hat{K}}_{\vec{\kappa}} = \frac{1}{\hat{R} \hat{B}^2 } \partial_{\hat{Z}} \hat{B}\)

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

◆ DivCurvatureKappa()

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

Member Function Documentation

◆ do_compute()

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

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