4.3.1 SHTINT

1.
Function
An initialization routine for SHTLIB. It must be called once before using any other subroutines in SHTLIB.

2.
Definition
See "Summary" for information on cut-of wavenumber M, EW partition number I, and NS partition number J.

3.
Call
SHTINT(MM,JM,IM,WORK)

4.
Explanation of Parameters
MM (I) Input parameter. 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).
WORK (R) Output parameter. Working area used by other routines in SHTLIB.
    A 1-D array of length (JM+1)*(4*JM+5*MM+14)+(MM+1)*(MM+1)+MM+2+6*IM+15.

5.
Notes
(a)
Must be JM(MM+1)/2 and IMMM+1.
(b)
The contents of array WORK must not be changed while using SHTLIB .