13 function j_phi(flux) result(f_j_phi)
26 real(r8),
dimension(3) :: ablt
28 if (
flux > 1._r8)
then
30 write(iu6, *)
'Warning: normalized flux > 1 ! Should not occur.'
34 f_j_phi =
spwert(npts,
flux, j_spline, psivec, ablt, 0)
subroutine flux(psitok, rk, zk, nk)
REAL *8 function spwert(N, XWERT, A, B, C, D, X, ABLTG)
real(r8) function j_phi(flux)