A cosine parity vmec quantity.
More...
#include <grid_quantity.hpp>
|
| vmec_fourier (const vmec_quantity< GRID_CLASS > &buffer, const std::vector< double > &m, const std::vector< double > &n) |
| Siesta radial quantity. More...
|
|
double | get (const double s, const double u, const double v) const |
| Get a value at a radial s position. More...
|
|
double | get_du (const double s, const double u, const double v) const |
| Get a poloidal derivative at a radial s position. More...
|
|
double | get_dv (const double s, const double u, const double v) const |
| Get a toroidal derivative at a radial s position. More...
|
|
|
const std::vector< double > | m |
| M modes.
|
|
const std::vector< double > | n |
| N modes.
|
|
const vmec_quantity< GRID_CLASS > | quantity |
| Mode amplitudes.
|
|
const PARITY | func |
| Parity function.
|
|
template<class GRID_CLASS, class PARITY>
class vmec_fourier< GRID_CLASS, PARITY >
A cosine parity vmec quantity.
◆ vmec_fourier()
template<class GRID_CLASS , class PARITY >
Siesta radial quantity.
- Parameters
-
[in] | buffer | Buffer containing the radial quantity. |
◆ get()
template<class GRID_CLASS , class PARITY >
double vmec_fourier< GRID_CLASS, PARITY >::get |
( |
const double |
s, |
|
|
const double |
u, |
|
|
const double |
v |
|
) |
| const |
|
inline |
Get a value at a radial s position.
s_vmec = s_siesta^2
- Parameters
-
[in] | s | Radial s position. |
[in] | u | Poloidal u position. |
[in] | v | Toroidal v position. |
- Returns
- The interpolated s position.
◆ get_du()
template<class GRID_CLASS , class PARITY >
double vmec_fourier< GRID_CLASS, PARITY >::get_du |
( |
const double |
s, |
|
|
const double |
u, |
|
|
const double |
v |
|
) |
| const |
|
inline |
Get a poloidal derivative at a radial s position.
s_vmec = s_siesta^2
- Parameters
-
[in] | s | Radial s position. |
[in] | u | Poloidal u position. |
[in] | v | Toroidal v position. |
- Returns
- The interpolated s position.
◆ get_dv()
template<class GRID_CLASS , class PARITY >
double vmec_fourier< GRID_CLASS, PARITY >::get_dv |
( |
const double |
s, |
|
|
const double |
u, |
|
|
const double |
v |
|
) |
| const |
|
inline |
Get a toroidal derivative at a radial s position.
s_vmec = s_siesta^2
- Parameters
-
[in] | s | Radial s position. |
[in] | u | Poloidal u position. |
[in] | v | Toroidal v position. |
- Returns
- The interpolated s position.
The documentation for this class was generated from the following file: