24 REAL(rprec),
DIMENSION(nzeta,ntheta3),
INTENT(in) :: bs
25 REAL(rprec),
DIMENSION(nzeta,ntheta3,0:1),
INTENT(in) :: bu, bv
26 REAL(rprec),
DIMENSION(nzeta,ntheta2),
INTENT(out) :: bs_s, bs_a
27 REAL(rprec),
DIMENSION(nzeta,ntheta2,0:1),
INTENT(out) :: bu_s, bv_s, bu_a, bv_a
29 INTEGER :: ir, i, kz, kzr
50 IF (kz .eq. 1) kzr = 1
52 bs_a(kz,i) = cp5*(bs(kz,i) + bs(kzr,ir))
53 bs_s(kz,i) = cp5*(bs(kz,i) - bs(kzr,ir))
55 bu_a(kz,i,:) = cp5*(bu(kz,i,:) - bu(kzr,ir,:))
56 bu_s(kz,i,:) = cp5*(bu(kz,i,:) + bu(kzr,ir,:))
58 bv_a(kz,i,:) = cp5*(bv(kz,i,:) - bv(kzr,ir,:))
59 bv_s(kz,i,:) = cp5*(bv(kz,i,:) + bv(kzr,ir,:))
subroutine fsym_fft(bs, bu, bv, bs_s, bu_s, bv_s, bs_a, bu_a, bv_a)
Contract bs,bu,bv from full nu interval to half-u interval so cos, sin integrals can be performed on ...