VMEC 8.52
3D Equilibrium solver with nested flux surfaces.
Loading...
Searching...
No Matches
theta_flip Module Reference

Functions/Subroutines

subroutine flip_theta (rmn, zmn, lmn)
 Flip the definition of the poloidal angle in the user-provided initial guess for the LCFS geometry.
 

Function/Subroutine Documentation

◆ flip_theta()

subroutine theta_flip::flip_theta ( real(rprec), dimension(0:ntor,0:mpol1,ntmax), intent(inout) rmn,
real(rprec), dimension(0:ntor,0:mpol1,ntmax), intent(inout) zmn,
real(rprec), dimension(0:ntor,0:mpol1,ntmax), intent(inout), optional lmn )

Flip the definition of the poloidal angle in the user-provided initial guess for the LCFS geometry.

Parameters
rmnFourier coefficients for \(R\)
zmnFourier coefficients for \(Z\)
lmnFourier coefficients for \(\lambda\)

Definition at line 17 of file flip_theta.f90.

References vmec_main::lthreed, 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 readin().

Here is the caller graph for this function: