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

\( \ln{|B|} \) More...

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

Public Member Functions

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

\( \ln{|B|} \)

\( \ln{( \hat{B})} = \ln{\left[ \frac{\hat{R}_0}{\hat{R}} \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} \right] } \)

Constructor & Destructor Documentation

◆ LnB()

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

Member Function Documentation

◆ do_compute()

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

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