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

\( |B|^{-1} = R/R_0\sqrt{I^2+(\nabla\psi)^2} \) More...

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

Public Member Functions

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

\( |B|^{-1} = R/R_0\sqrt{I^2+(\nabla\psi)^2} \)

\( \frac{1}{\hat{B}} = \frac{\hat{R}}{\hat{R}_0}\frac{1}{ \sqrt{ \hat{I}^2 + \left(\frac{\partial \hat{\psi}_p }{ \partial \hat{R}}\right)^2 + \left(\frac{\partial \hat{\psi}_p }{ \partial \hat{Z}}\right)^2}} \)

Constructor & Destructor Documentation

◆ InvB()

dg::geo::InvB::InvB ( const TokamakMagneticField mag)
inline

Member Function Documentation

◆ do_compute()

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

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