FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (:) | :: | unord | ||
complex, | intent(out), | dimension (:) | :: | ord |
subroutine reorder_kx (unord, ord)
use kt_grids, only: ntheta0
implicit none
complex, dimension (:), intent (in) :: unord
complex, dimension (:), intent (out) :: ord
ord(:ntheta0/2) = unord(ntheta0/2+2:)
ord(ntheta0/2+1:) = unord(:ntheta0/2+1)
end subroutine reorder_kx