19 REAL(rprec),
PARAMETER :: zero=0.0_dp, p5=0.5_dp, p25=p5*p5
21 INTEGER :: l, js, ku, lk
22 REAL(rprec) :: taumax, taumin, dshalfds=p25, temp(
nrzt/
ns)
55 tau(l) = ru12(l)*zs(l) - rs(l)*zu12(l) + dshalfds* &
67 taumax = maxval(tau(2:
nrzt))
68 taumin = minval(tau(2:
nrzt))
69 IF (taumax*taumin .lt. zero)
then
84 call add_real(
"taumax", taumax)
85 call add_real(
"taumin", taumin)
86 call add_int(
"irst",
first)
subroutine jacobian
Evaulate the Jacobian of the transform from flux- to cylindrical coordinates.
logical function open_dbg_context(context_name, repetition, id)
check if any output is desired for the current iteration check if the given context should be openend...
real(rprec), dimension(:,:), allocatable ru
real(rprec), dimension(:), allocatable shalf
sqrt(s) ,two-dimensional array on half-grid
real(rprec), dimension(:,:), allocatable, target z1
real(rprec), dimension(:,:), allocatable r1
real(rprec), dimension(:,:), allocatable zu
real(rprec), dimension(:), pointer azmn_o
real(rprec), dimension(:), pointer bzmn_e
real(rprec), dimension(:), pointer brmn_e
real(rprec), dimension(:), pointer azmn_e
real(rprec), dimension(:), pointer armn_o
real(rprec), dimension(:), pointer armn_e
integer ntheta3
effective number of poloidal grid points
integer ns
number of flux surfaces
integer first
"counter" monitoring sign of jacobian; resets R, Z, and Lambda when jacobian changes sign and decreas...
integer num_eqsolve_retries
integer iter2
total number of iterations
integer, parameter modd
parity selection label for odd poloidal modes of R and Z
integer, parameter meven
parity selection label for even poloidal modes of R and Z