VMEC 8.52
3D Equilibrium solver with nested flux surfaces.
|
Convert internal mode representation to standard form for output (coefficients of cos(mu-nv), sin(mu-nv) without internal mscale
, nscale
norms).
More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | convert (rmnc, zmns, lmns, rmns, zmnc, lmnc, rzl_array, js) |
Convert internal mode representation to standard form for output (coefficients of cos(mu-nv), sin(mu-nv) without internal mscale , nscale norms). | |
Convert internal mode representation to standard form for output (coefficients of cos(mu-nv), sin(mu-nv) without internal mscale
, nscale
norms).
Definition in file convert.f90.
subroutine convert | ( | real(rprec), dimension(mnmax), intent(out) | rmnc, |
real(rprec), dimension(mnmax), intent(out) | zmns, | ||
real(rprec), dimension(mnmax), intent(out) | lmns, | ||
real(rprec), dimension(mnmax), intent(out) | rmns, | ||
real(rprec), dimension(mnmax), intent(out) | zmnc, | ||
real(rprec), dimension(mnmax), intent(out) | lmnc, | ||
real(rprec), dimension(ns, 0:ntor, 0:mpol1, 3*ntmax), intent(in) | rzl_array, | ||
integer, intent(in) | js ) |
Convert internal mode representation to standard form for output (coefficients of cos(mu-nv), sin(mu-nv) without internal mscale
, nscale
norms).
rmnc | stellarator-symmetric Fourier coefficients of \(R\) |
zmns | stellarator-symmetric Fourier coefficients of \(Z\) |
lmns | stellarator-symmetric Fourier coefficients of \(\lambda\) |
rmns | non-stellarator-symmetric Fourier coefficients of \(R\) |
zmnc | non-stellarator-symmetric Fourier coefficients of \(Z\) |
lmnc | non-stellarator-symmetric Fourier coefficients of \(\lambda\) |
rzl_array | state vector (all Fourier coefficients) of VMEC |
js | index of flux surface at which to do the conversion |
Definition at line 16 of file convert.f90.
References vmec_main::lthreed, vmec_params::mscale, vmec_params::nscale, vmec_params::ntmax, vmec_params::rcc, vmec_params::rcs, vmec_params::rsc, vmec_params::rss, vmec_params::zcc, vmec_params::zcs, vmec_params::zsc, and vmec_params::zss.
Referenced by funct3d(), and wrout().