VMEC 8.52
3D Equilibrium solver with nested flux surfaces.
Loading...
Searching...
No Matches
convert.f90 File Reference

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).
 

Detailed Description

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.

Function/Subroutine Documentation

◆ convert()

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).

Parameters
rmncstellarator-symmetric Fourier coefficients of \(R\)
zmnsstellarator-symmetric Fourier coefficients of \(Z\)
lmnsstellarator-symmetric Fourier coefficients of \(\lambda\)
rmnsnon-stellarator-symmetric Fourier coefficients of \(R\)
zmncnon-stellarator-symmetric Fourier coefficients of \(Z\)
lmncnon-stellarator-symmetric Fourier coefficients of \(\lambda\)
rzl_arraystate vector (all Fourier coefficients) of VMEC
jsindex 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().

Here is the caller graph for this function: