12 real(r8),
intent(in) ::
flux
13 real(r8) :: f_dgamma_dpsi
15 real(r8),
dimension(3) :: ablt
20 if (
flux >= 1._r8)
then
24 f_dgamma_dpsi =
spwert(npts, flux_tmp, gam_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 dgamma_dpsi(flux)