4 REAL(rprec),
PARAMETER :: pi = 3.141592653589793238462643_dp
5 REAL(rprec),
PARAMETER :: mu0 = 4.0e-7_dp*pi
6 INTEGER,
PARAMETER :: nlambda = 101
7 INTEGER :: nthetah, nzetah
8 INTEGER,
PARAMETER :: nthetahm = 32
9 INTEGER,
PARAMETER :: nzetahm = 16
10 INTEGER,
PARAMETER :: iotasign = 1
11 REAL(rprec),
PARAMETER :: zetasign = -1
12 INTEGER :: irdim, irup
13 INTEGER,
DIMENSION(:),
ALLOCATABLE :: jlist, jlist_idx
14 REAL(rprec) delta_rho_1
15 REAL(rprec),
DIMENSION(:),
ALLOCATABLE :: flux,
16 1 aiogar, aipsi, gpsi, pres1,
17 2 betar, dense, densi, tempe1, tempi1
18 INTEGER,
DIMENSION(:),
ALLOCATABLE :: idx
19 REAL(rprec),
DIMENSION(:,:),
ALLOCATABLE ::
20 1 bfield, gsqrt_b, b2obm, omb32, bfieldm,
21 2 sinmi, sinnj, cosmi, cosnj,
22 2 sinmim, sinnjm, cosmim, cosnjm
24 REAL(rprec),
DIMENSION(:),
ALLOCATABLE ::
25 1 dibs, aibs, dibst, aibst, phip,
26 2 bsdense, bsdensi, bstempe, bstempi, bsdenste, bsdensti,
27 3 bstempte, bstempti, qsafety, capr, caps, h2,
28 4 ftrapped, fpassing, epsttok, fttok, b2avg,
29 5 gbsnorm, aiterm1, other1, ajBbs,
30 6 rhoar, bsnorm, fptok, amain, d_rho,
31 7 bmax1, thetamax, zetahmax
32 REAL(rprec) alphae, alphai , psimax
33 REAL(rprec) temperho1, tempirho1, densrho1
34 REAL(rprec),
DIMENSION(:,:,:),
ALLOCATABLE :: amnfit
36 REAL(rprec),
DIMENSION(:),
ALLOCATABLE :: theta, zetah
37 REAL(rprec),
DIMENSION(nthetahm) :: thetam
38 REAL(rprec),
DIMENSION(nzetahm) :: zetahm
39 complex(rprec),
DIMENSION(:,:),
ALLOCATABLE ::
41 REAL(rprec),
DIMENSION(:,:),
ALLOCATABLE :: rfmn
42 REAL(rprec) avgbobm2, sum_gsqrt_b
43 REAL(rprec),
DIMENSION(136) :: w1, alamb_h
45 REAL(rprec) dlambda, drho
46 REAL(rprec) sign_jacobian
47 LOGICAL,
DIMENSION(:),
ALLOCATABLE :: lsurf
48 LOGICAL l_boot_all, lscreen