VMEC 8.52
3D Equilibrium solver with nested flux surfaces.
Loading...
Searching...
No Matches
xstuff.f90
Go to the documentation of this file.
1
2MODULE xstuff
3
4 USE stel_kinds, ONLY: rprec
5
6 IMPLICIT NONE
7
8! LOCAL VARIABLES
9!
10! rbcc,rbss,rbcs,rbsc
11! boundary Fourier coefficient arrays for R (of cosu*cosv, etc)
12! zbcc,zbss,zbcs,zbsc
13! boundary Fourier coefficient arrays for Z
14!
15! XCC*COS(MU)COS(NV), XCS*COS(MU)SIN(NV), ETC
16!
17! STACKING ORDER DEPENDS ON LASYM AND LTHREED.
18! EACH COMPONENT XCC, XSS, XSC, XCS HAS SIZE = mns.
19!
20! LTHREED=F, LTHREED=F, LTHREED=T, LTHREED=T
21! LASYM=F LASYM=T LASYM=F LASYM=T
22!
23! rmncc rmncc rmncc rmncc
24! zmnsc rmnsc rmnss rmnss
25! lmnsc zmnsc zmnsc rmnsc
26! zmncc zmncs rmncs
27! lmnsc lmnsc zmnsc
28! lmncc lmncs zmncs
29! zmncc
30! zmnss
31! lmnsc
32! lmncs
33! lmncc
34! lmnss
35
37 REAL(rprec), DIMENSION(:), ALLOCATABLE :: gc, gc_con, gc_mhd
38
40 REAL(rprec), DIMENSION(:), ALLOCATABLE, TARGET :: xc
41
43 REAL(rprec), DIMENSION(:), ALLOCATABLE :: xcdot
44
45 REAL(rprec), DIMENSION(:), ALLOCATABLE :: xsave
46
48 REAL(rprec), DIMENSION(:), ALLOCATABLE :: xstore
49
50 REAL(rprec), DIMENSION(:), ALLOCATABLE :: scalxc
51
52END MODULE xstuff
integer, parameter rprec
real(rprec), dimension(:), allocatable gc_mhd
Definition xstuff.f90:37
real(rprec), dimension(:), allocatable gc_con
Definition xstuff.f90:37
real(rprec), dimension(:), allocatable gc
stacked array of R, Z, Lambda Spectral force coefficients (see above for stack order)
Definition xstuff.f90:37
real(rprec), dimension(:), allocatable, target xc
stacked array of scaled R, Z, Lambda Fourier coefficients (see above for stack order)
Definition xstuff.f90:40
real(rprec), dimension(:), allocatable xsave
Definition xstuff.f90:45
real(rprec), dimension(:), allocatable scalxc
Definition xstuff.f90:50
real(rprec), dimension(:), allocatable xcdot
"velocity": change of Fourier coefficients per time step
Definition xstuff.f90:43
real(rprec), dimension(:), allocatable xstore
backup copy of last-known-good xc
Definition xstuff.f90:48