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

Variables

integer, parameter meven = 0
 parity selection label for even poloidal modes of R and Z
 
integer, parameter modd = 1
 parity selection label for odd poloidal modes of R and Z
 
integer, parameter ndamp = 10
 number of iterations over which damping is averaged
 
integer, parameter ns4 = 25
 
integer, dimension(0:mpold), parameter jmin1 = (/ 1,1,(2,ink=2,mpold) /)
 starting js(m) values where R,Z are non-zero
 
integer, dimension(0:mpold), parameter jmin2 = (/ 1,2,(2,ink=2,mpold) /)
 starting js(m) values for which R,Z are evolved
 
integer, dimension(0:mpold), parameter jlam = (/ 2,2,(2,ink=2,mpold) /)
 starting js(m) values for which Lambda is evolved
 
integer, parameter norm_term_flag = 0
 
integer, parameter bad_jacobian_flag = 1
 
integer, parameter jac75_flag = 4
 
integer, parameter input_error_flag = 5
 
integer, parameter phiedge_error_flag = 7
 
integer, parameter ns_error_flag = 8
 
integer, parameter misc_error_flag = 9
 
integer, parameter successful_term_flag = 11
 
integer, parameter restart_flag = 1
 
integer, parameter readin_flag = 2
 
integer, parameter timestep_flag = 4
 
integer, parameter output_flag = 8
 
integer, parameter cleanup_flag = 16
 
integer, parameter reset_jacdt_flag = 32
 
real(rprec), parameter pdamp = 0.05_dp
 
character(len= *), parameter version_ = '8.52'
 
integer ntmax
 number of contributing Fourier basis function (can be 1, 2 or 4); assigned in read_indata()
 
integer rcc
 
integer rss
 
integer rsc
 
integer rcs
 
integer zsc
 
integer zcs
 
integer zcc
 
integer zss
 
integer mnyq
 
integer nnyq
 
integer, dimension(:), allocatable uminus
 
real(rprec), dimension(:), allocatable mscale
 array for norming theta-trig functions (internal use only) so that the discrete SUM[cos(mu)*cos(m'u)] = .5 delta(m,m')
 
real(rprec), dimension(:), allocatable nscale
 array for norming zeta -trig functions (internal use only)
 
real(rprec) signgs
 sign of Jacobian : must be =1 (right-handed) or =-1 (left-handed)
 
real(rprec) lamscale =1
 
integer, parameter m0 =0
 from totzsp
 
integer, parameter m1 =1
 from totzsp
 
integer, parameter n0 =0
 from totzsp
 

Variable Documentation

◆ bad_jacobian_flag

integer, parameter vmec_params::bad_jacobian_flag = 1

Definition at line 20 of file vmec_params.f90.

Referenced by eqsolve(), evolve(), funct3d(), and vmec().

◆ cleanup_flag

integer, parameter vmec_params::cleanup_flag = 16

Definition at line 37 of file vmec_params.f90.

◆ input_error_flag

integer, parameter vmec_params::input_error_flag = 5

Definition at line 24 of file vmec_params.f90.

Referenced by read_indata().

◆ jac75_flag

integer, parameter vmec_params::jac75_flag = 4

Definition at line 23 of file vmec_params.f90.

Referenced by eqsolve().

◆ jlam

integer, dimension(0:mpold), parameter vmec_params::jlam = (/ 2,2,(2,ink=2,mpold) /)

starting js(m) values for which Lambda is evolved

Definition at line 17 of file vmec_params.f90.

Referenced by lamcal(), tomnspa(), tomnspa_con(), tomnsps(), tomnsps_con(), totzspa(), and totzsps().

◆ jmin1

integer, dimension(0:mpold), parameter vmec_params::jmin1 = (/ 1,1,(2,ink=2,mpold) /)

starting js(m) values where R,Z are non-zero

Definition at line 15 of file vmec_params.f90.

Referenced by totzspa(), and totzsps().

◆ jmin2

integer, dimension(0:mpold), parameter vmec_params::jmin2 = (/ 1,2,(2,ink=2,mpold) /)

starting js(m) values for which R,Z are evolved

Definition at line 16 of file vmec_params.f90.

Referenced by fixaray(), scalfor(), tomnspa(), tomnspa_con(), tomnsps(), and tomnsps_con().

◆ lamscale

real(rprec) vmec_params::lamscale =1

Definition at line 64 of file vmec_params.f90.

Referenced by bcovar(), lamcal(), profil1d(), and wrout().

◆ m0

integer, parameter vmec_params::m0 =0

from totzsp

Definition at line 66 of file vmec_params.f90.

Referenced by totzspa(), and totzsps().

◆ m1

integer, parameter vmec_params::m1 =1

from totzsp

Definition at line 67 of file vmec_params.f90.

Referenced by convert_sym(), totzspa(), and totzsps().

◆ meven

integer, parameter vmec_params::meven = 0

parity selection label for even poloidal modes of R and Z

Definition at line 9 of file vmec_params.f90.

Referenced by bcovar(), jacobian(), residue(), residue_con(), and residue_mhd().

◆ misc_error_flag

integer, parameter vmec_params::misc_error_flag = 9

Definition at line 28 of file vmec_params.f90.

◆ mnyq

integer vmec_params::mnyq

Definition at line 54 of file vmec_params.f90.

Referenced by fixaray(), jxbforce(), and wrout().

◆ modd

integer, parameter vmec_params::modd = 1

parity selection label for odd poloidal modes of R and Z

Definition at line 10 of file vmec_params.f90.

Referenced by bcovar(), jacobian(), residue(), residue_con(), and residue_mhd().

◆ mscale

real(rprec), dimension(:), allocatable vmec_params::mscale

array for norming theta-trig functions (internal use only) so that the discrete SUM[cos(mu)*cos(m'u)] = .5 delta(m,m')

Definition at line 58 of file vmec_params.f90.

Referenced by convert(), eqfor(), fixaray(), profil3d(), spectrum(), vmec(), and wrout().

◆ n0

integer, parameter vmec_params::n0 =0

from totzsp

Definition at line 68 of file vmec_params.f90.

Referenced by totzspa(), and totzsps().

◆ ndamp

integer, parameter vmec_params::ndamp = 10

number of iterations over which damping is averaged

Definition at line 11 of file vmec_params.f90.

Referenced by evolve().

◆ nnyq

integer vmec_params::nnyq

Definition at line 55 of file vmec_params.f90.

Referenced by fixaray(), jxbforce(), and wrout().

◆ norm_term_flag

integer, parameter vmec_params::norm_term_flag = 0

Definition at line 19 of file vmec_params.f90.

Referenced by eqsolve(), evolve(), fileout(), readin(), vacuum(), and vmec().

◆ ns4

integer, parameter vmec_params::ns4 = 25

Definition at line 12 of file vmec_params.f90.

Referenced by bcovar(), and eqsolve().

◆ ns_error_flag

integer, parameter vmec_params::ns_error_flag = 8

Definition at line 27 of file vmec_params.f90.

◆ nscale

real(rprec), dimension(:), allocatable vmec_params::nscale

array for norming zeta -trig functions (internal use only)

Definition at line 60 of file vmec_params.f90.

Referenced by convert(), eqfor(), fixaray(), guess_axis(), profil3d(), spectrum(), vmec(), and wrout().

◆ ntmax

◆ output_flag

integer, parameter vmec_params::output_flag = 8

Definition at line 36 of file vmec_params.f90.

◆ pdamp

real(rprec), parameter vmec_params::pdamp = 0.05_dp

Definition at line 40 of file vmec_params.f90.

Referenced by bcovar(), and profil1d().

◆ phiedge_error_flag

integer, parameter vmec_params::phiedge_error_flag = 7

Definition at line 26 of file vmec_params.f90.

Referenced by vacuum().

◆ rcc

integer vmec_params::rcc

◆ rcs

integer vmec_params::rcs

◆ readin_flag

integer, parameter vmec_params::readin_flag = 2

Definition at line 34 of file vmec_params.f90.

◆ reset_jacdt_flag

integer, parameter vmec_params::reset_jacdt_flag = 32

Definition at line 38 of file vmec_params.f90.

◆ restart_flag

integer, parameter vmec_params::restart_flag = 1

Definition at line 33 of file vmec_params.f90.

◆ rsc

◆ rss

◆ signgs

real(rprec) vmec_params::signgs

sign of Jacobian : must be =1 (right-handed) or =-1 (left-handed)

Definition at line 62 of file vmec_params.f90.

Referenced by bcovar(), calc_fbal(), eqfor(), fileout(), fixaray(), funct3d(), guess_axis(), jxbforce(), precondn(), profil1d(), readin(), and wrout().

◆ successful_term_flag

integer, parameter vmec_params::successful_term_flag = 11

Definition at line 30 of file vmec_params.f90.

Referenced by eqsolve(), evolve(), fileout(), jxbforce(), and vmec().

◆ timestep_flag

integer, parameter vmec_params::timestep_flag = 4

Definition at line 35 of file vmec_params.f90.

◆ uminus

integer, dimension(:), allocatable vmec_params::uminus

Definition at line 57 of file vmec_params.f90.

Referenced by profil3d(), and vmec().

◆ version_

character(len=*), parameter vmec_params::version_ = '8.52'

Definition at line 41 of file vmec_params.f90.

Referenced by heading(), and wrout().

◆ zcc

◆ zcs

◆ zsc

integer vmec_params::zsc

◆ zss

integer vmec_params::zss