13 real(r8),
intent(in) :: rpsi
15 real(r8),
intent(out) :: zpsi, dzpsi, ddzpsi
27 zpsi = rpsi**2 + a1 * rpsi**3 + a2 * rpsi**4 - (a1 + a2) &
29 dzpsi = 2._r8 * rpsi + 3._r8 * a1 * rpsi**2 + 4._r8 * a2 &
30 * rpsi**3 - 5._r8 * (a1 + a2) * rpsi**4
31 ddzpsi = 2._r8 + 6._r8 * a1 * rpsi + 12._r8 * a2 * rpsi**2 &
32 - 20._r8 * (a1 + a2) * rpsi**3
subroutine radial_mesh(rpsi, zpsi, dzpsi, ddzpsi)