DCL:MATH2:SHTLIB: Spherical Harmonic Functions: Explanation of Subroutines
Performs inverse spectral transformation only for the zonal component by successively carrying out SHTSWZ and SHTWGZ.
See SHTSWZ, SHTWGZ.
SHTSGZ(MM,JM,IM,ISW,S,WZ,G,WORK)
MM (I) Input parameter. The cut-off wavenumber (M). JM (I) Input parameter. 1/2 of the NS partition number (J). IM (I) Input parameter. 1/2 of the EW partition number (I). ISW (I) Input parameter. Specifies the type of transformation. (See SHTS2G.) S (R) Input parameter. Spectral data. (For length and arrangement, see SHTNML.) WZ (R) Output parameter. Wave data.(W0(&phi)) (For length and arrangement, see SHTSWZ.) G (R) Output parameter. Grid data. (For length and arrangement, see SHTW2G.) WORK (R) Working area initialized by SHTINT.