Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(FIELDS), | intent(inout) | :: | F |
subroutine sample_poloidal_flux(F)
TYPE(FIELDS), INTENT(INOUT) :: F
! FR = (dA/dZ)/R
call EZspline_interp(bfield_2d%A,F%dims(1),F%dims(3),F%X%R, F%X%Z, &
F%PSIp, ezerr)
call EZspline_error(ezerr)
! write(6,'("AR",E17.10)') gradA(1)
! write(6,'("AZ",E17.10)') gradA(2)
end subroutine sample_poloidal_flux