VMEC 8.52
3D Equilibrium solver with nested flux surfaces.
Loading...
Searching...
No Matches
realspace.f90
Go to the documentation of this file.
1!> \file
3
4 USE stel_kinds
5
6 IMPLICIT NONE
7
8 REAL(rprec), DIMENSION(:,:), ALLOCATABLE :: r1 !< \f$R\f$
9 REAL(rprec), DIMENSION(:,:), ALLOCATABLE :: ru !< \f$\partial R/\partial \theta\f$
10 REAL(rprec), DIMENSION(:,:), ALLOCATABLE :: rv !< \f$\partial R/\partial \zeta\f$
11 REAL(rprec), DIMENSION(:,:), ALLOCATABLE, TARGET :: z1 !< \f$Z \f$
12 REAL(rprec), DIMENSION(:,:), ALLOCATABLE :: zu !< \f$\partial Z/\partial \theta\f$
13 REAL(rprec), DIMENSION(:,:), ALLOCATABLE :: zv !< \f$\partial Z/\partial \zeta\f$
14
15 REAL(rprec), DIMENSION(:,:), ALLOCATABLE :: rcon !< spectral condensation term in \f$R\f$
16 REAL(rprec), DIMENSION(:,:), ALLOCATABLE :: zcon !< spectral condensation term in \f$Z\f$
17 REAL(rprec), DIMENSION(:), ALLOCATABLE :: rcon0 !< spectral condensation term in \f$R\f$ at start of current multi-grid iteration
18 REAL(rprec), DIMENSION(:), ALLOCATABLE :: zcon0 !< spectral condensation term in \f$R\f$ at start of current multi-grid iteration
19
20 REAL(rprec), DIMENSION(:), ALLOCATABLE :: guu !< \f$g_{\theta, \theta}\f$ metric element
21 REAL(rprec), DIMENSION(:), ALLOCATABLE :: guv !< \f$g_{\theta, \zeta}\f$ metric element
22 REAL(rprec), DIMENSION(:), ALLOCATABLE :: gvv !< \f$g_{\zeta, \zeta}\f$ metric element
23
24 REAL(rprec), DIMENSION(:), ALLOCATABLE :: ru0 !< \f$\partial R/\partial \theta\f$, even-m and odd-m added together appropriately
25 REAL(rprec), DIMENSION(:), ALLOCATABLE :: zu0 !< \f$\partial Z/\partial \theta\f$, even-m and odd-m added together appropriately
26
27 REAL(rprec), DIMENSION(:), ALLOCATABLE :: gcon !< spectral condensation force; "alias force"
28
29 REAL(rprec), DIMENSION(:), ALLOCATABLE :: phip !< radial derivative of phi/(2*pi) on half-grid
30 REAL(rprec), DIMENSION(:), ALLOCATABLE :: chip !< radial derivative of chi/(2*pi) on half-grid
31 REAL(rprec), DIMENSION(:), ALLOCATABLE :: shalf !< sqrt(s) ,two-dimensional array on half-grid
32 REAL(rprec), DIMENSION(:), ALLOCATABLE :: sqrts !< sqrt(s), two-dimensional array on full-grid
33
34 REAL(rprec), DIMENSION(:), ALLOCATABLE :: wint !< two-dimensional array for normalizing angle integrations
35
36 REAL(rprec), DIMENSION(:,:), ALLOCATABLE, TARGET :: extra1
37 REAL(rprec), DIMENSION(:,:), ALLOCATABLE, TARGET :: extra2
38 REAL(rprec), DIMENSION(:,:), ALLOCATABLE, TARGET :: extra3
39 REAL(rprec), DIMENSION(:,:), ALLOCATABLE, TARGET :: extra4
40
41END MODULE realspace
real(rprec), dimension(:,:), allocatable rv
Definition realspace.f90:10
real(rprec), dimension(:), allocatable zu0
, even-m and odd-m added together appropriately
Definition realspace.f90:25
real(rprec), dimension(:), allocatable wint
two-dimensional array for normalizing angle integrations
Definition realspace.f90:34
real(rprec), dimension(:,:), allocatable zv
Definition realspace.f90:13
real(rprec), dimension(:,:), allocatable zcon
spectral condensation term in
Definition realspace.f90:16
real(rprec), dimension(:,:), allocatable ru
Definition realspace.f90:9
real(rprec), dimension(:), allocatable gvv
metric element
Definition realspace.f90:22
real(rprec), dimension(:), allocatable sqrts
sqrt(s), two-dimensional array on full-grid
Definition realspace.f90:32
real(rprec), dimension(:,:), allocatable, target extra3
Definition realspace.f90:38
real(rprec), dimension(:), allocatable guv
metric element
Definition realspace.f90:21
real(rprec), dimension(:,:), allocatable, target extra4
Definition realspace.f90:39
real(rprec), dimension(:), allocatable chip
radial derivative of chi/(2*pi) on half-grid
Definition realspace.f90:30
real(rprec), dimension(:,:), allocatable, target extra1
Definition realspace.f90:36
real(rprec), dimension(:), allocatable shalf
sqrt(s) ,two-dimensional array on half-grid
Definition realspace.f90:31
real(rprec), dimension(:), allocatable ru0
, even-m and odd-m added together appropriately
Definition realspace.f90:24
real(rprec), dimension(:), allocatable gcon
spectral condensation force; "alias force"
Definition realspace.f90:27
real(rprec), dimension(:,:), allocatable, target z1
Definition realspace.f90:11
real(rprec), dimension(:,:), allocatable rcon
spectral condensation term in
Definition realspace.f90:15
real(rprec), dimension(:), allocatable rcon0
spectral condensation term in at start of current multi-grid iteration
Definition realspace.f90:17
real(rprec), dimension(:,:), allocatable r1
Definition realspace.f90:8
real(rprec), dimension(:), allocatable guu
metric element
Definition realspace.f90:20
real(rprec), dimension(:,:), allocatable, target extra2
Definition realspace.f90:37
real(rprec), dimension(:), allocatable phip
radial derivative of phi/(2*pi) on half-grid
Definition realspace.f90:29
real(rprec), dimension(:), allocatable zcon0
spectral condensation term in at start of current multi-grid iteration
Definition realspace.f90:18
real(rprec), dimension(:,:), allocatable zu
Definition realspace.f90:12
integer, parameter rprec