Evaluation of the safety factor q based on direct integration of \( q(\psi_0) = \frac{1}{2\pi} \int d\Theta \frac{B^\varphi}{B^\Theta} \).
More...
Evaluation of the safety factor q based on direct integration of \( q(\psi_0) = \frac{1}{2\pi} \int d\Theta \frac{B^\varphi}{B^\Theta} \).
- Attention
- Return value undefined if evaluated outside the closed fieldline region, but the function always returns, it won't throw an error or something
- Template Parameters
-
container | A data container class for which the blas1 functionality is overloaded. We assume that container is copyable/assignable and has a swap member function. Currently this is one of
|
◆ SafetyFactor()
◆ operator()()
double dg::geo::SafetyFactor::operator() |
( |
double |
psip0 | ) |
|
|
inline |
Calculate q(psip0)
- Parameters
-
- Returns
- q(psip0)
The documentation for this struct was generated from the following file: