DCL:MATH2:SHTLIB: Spherical Harmonic Function: Explanation of Subroutines
Performs inverse Legendre transformation, which corresponds to the first half of the inverse spectral transformation, over a specified wavenumber interval on a single specified meridian circle.
Transforms spectral data Smn into wave data Wm(&phi) on a single specified meridian circle &phi j over a specified wavenumber interval of M1≤|m| ≤M2. See SHTS2W for equations used in the transformation.
SHTSWJ(MM,JM,ISW,J,M1,M2,S,WJ,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.) J (I) Input parameter. Specifies the meridian circle on which to perform transformation. (See Notes.) 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.) WJ (R) Output parameter. Stores Wm(&phi j¡Ë. An array of length 2*MM+1. (See Notes for arrangement.) WORK (R) Working area initialized by SHTINT.