VMEC
8.52
3D Equilibrium solver with nested flux surfaces.
Toggle main menu visibility
Loading...
Searching...
No Matches
xstuff.f90
Go to the documentation of this file.
1
!> \file
2
MODULE
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
36
!> stacked array of R, Z, Lambda Spectral force coefficients (see above for stack order)
37
REAL
(
rprec
),
DIMENSION(:)
,
ALLOCATABLE
::
gc
,
gc_con
,
gc_mhd
38
39
!> stacked array of scaled R, Z, Lambda Fourier coefficients (see above for stack order)
40
REAL
(
rprec
),
DIMENSION(:)
,
ALLOCATABLE
,
TARGET
::
xc
41
42
!> "velocity": change of Fourier coefficients per time step
43
REAL
(
rprec
),
DIMENSION(:)
,
ALLOCATABLE
::
xcdot
44
45
REAL
(
rprec
),
DIMENSION(:)
,
ALLOCATABLE
::
xsave
46
47
!> backup copy of last-known-good xc
48
REAL
(
rprec
),
DIMENSION(:)
,
ALLOCATABLE
::
xstore
49
50
REAL
(
rprec
),
DIMENSION(:)
,
ALLOCATABLE
::
scalxc
51
52
END MODULE
xstuff
stel_kinds
Definition
stel_kinds.f90:2
stel_kinds::rprec
integer, parameter rprec
Definition
stel_kinds.f90:10
xstuff
Definition
xstuff.f90:2
xstuff::gc_mhd
real(rprec), dimension(:), allocatable gc_mhd
Definition
xstuff.f90:37
xstuff::gc_con
real(rprec), dimension(:), allocatable gc_con
Definition
xstuff.f90:37
xstuff::gc
real(rprec), dimension(:), allocatable gc
stacked array of R, Z, Lambda Spectral force coefficients (see above for stack order)
Definition
xstuff.f90:37
xstuff::xc
real(rprec), dimension(:), allocatable, target xc
stacked array of scaled R, Z, Lambda Fourier coefficients (see above for stack order)
Definition
xstuff.f90:40
xstuff::xsave
real(rprec), dimension(:), allocatable xsave
Definition
xstuff.f90:45
xstuff::scalxc
real(rprec), dimension(:), allocatable scalxc
Definition
xstuff.f90:50
xstuff::xcdot
real(rprec), dimension(:), allocatable xcdot
"velocity": change of Fourier coefficients per time step
Definition
xstuff.f90:43
xstuff::xstore
real(rprec), dimension(:), allocatable xstore
backup copy of last-known-good xc
Definition
xstuff.f90:48
src
data
xstuff.f90
Generated on
for VMEC by
1.17.0