DCL:MATH2:SHTLIB: Spherical Harmonic Functions: Explanation of Subroutines
Performs inverse Legendre transformation, which corresponds to the first half of the inverse spectral transformation, over a specified wavenumber interval.
Transforms spectral data Smn to wave data Wm(&phi) only within the wavenumber range M1≤|m|≤M2. See SHTS2W for equations used in the transformation.
SHTSWA(MM,JM,ISW,M1,M2,S,W,WORK)
MM (I) Input parameter. The cut-off wavenumber (M). JM (I) Input parameter. 1/2 of the NS partition number (J) ISW (I) Input parameter. Specifies the type of transformation (See SHTS2W.) M1 (I) Input parameter. The minimum value in the wavenumber interval for transformation. (See above definition.) M2 (I) Input parameter. The maximum value in the wavenumber interval for transformation. (See above definition.) S (R) Input parameter. Spectral data. (For length and arrangement, see SHTNML.) W (R) Output parameter. Wave data. (For length and arrangement, see SHTS2W.) WORK (R) Working area initialized by SHTINT.