DCL:MATH£²:SHTLIB: Spherical Harmonic Functions: Explanation of Subroutines
Performs inverse Legendre transformation, which corresponds to the first half of the inverse spectral transformation, for a single specified wavenumber component.
Transforms spectral data Smn into wave data Wm(&phi) only for a single specified wavenumber component m=M (>0). See SHTS2W for equations of transformation.
SHTSWM(MM,JM,M,ISW,S,WR,WI,WORK)
MM (I) Input parameter. The cut-off wavenumber (M). JM (I) Input parameter. 1/2 of the NS partition number (J) M (I) Input parameter. Specifies the wavenumber to transform. (See above definition.) ISW (I) Input parameter. Specifies the type of transformation. (See SHTS2W.) S (R) Input parameter. Spectral data. (For length and arrangement, see SHTNML.) WR (R) Output parameter. The floating-point part of Wm(&phi). An array of length 2*JM+1. (See Notes for arrangement of array.) WI (R) Output parameter. The imaginary part of Wm(&phi). An array of length 2*JM+1(See Notes for arrangement of array.) WORK (R) Working area initialized by SHTINT.