delta.f90


subroutine i2mex_getDelta (nt1, ns, the, psi, res, ier)

    Return in res the difference 'delta' between the

    PEST1 straight field line poloidal angle and 'the'

    on the (the, psi) grid.

integer, intent(in) :: nt1, ns

real(i2mex_r8), intent(in) :: the(nt1), psi(ns)

real(i2mex_r8), intent(out) :: res(nt1, ns)

integer, intent(out) :: ier


subroutine i2mex_getQDeltaT (nt1, ns, the, psi, res, ier)

    Return in res the derivative d /dthe of

    'q*delta' where delta is the difference between

    the PEST1 straight field line poloidal angle and

    'the' the poloidal angle on the (the, psi) grid.

integer, intent(in) :: nt1, ns

real(i2mex_r8), intent(in) :: the(nt1), psi(ns)

real(i2mex_r8), intent(out) :: res(nt1, ns)

integer, intent(out) :: ier


subroutine i2mex_getQDeltaP (nt1, ns, the, psi, res, ier)

    Return in res the derivative d /dpsi of

    'q*delta' where delta is the difference between

    the PEST1 straight field line poloidal angle and

    'the' the poloidal angle on the (the, psi) grid.

integer, intent(in) :: nt1, ns

real(i2mex_r8), intent(in) :: the(nt1), psi(ns)

real(i2mex_r8), intent(out) :: res(nt1, ns)

integer, intent(out) :: ier


Send comments about this document to Alexander Ppletzer. Thu Jan 26 12:43:45 2006