4.3.5 SHTW2G

1.
Function
Performs the inverse Fourier transformation, which corresponds to the latter half of the spectral transformation.

2.
Definition
An inverse Fourier transformation:

(4.24)

is performed on wave data created by SHTS2W.

3.
Call
SHTW2G(MM,JM,IM,W,G,WORK)

4.
Explanation of Parameters
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)
W (R) Input parameter. Wave data. (For length and arrangement of array, see SHTS2W.)
G (R) Output parameter. Grid data.
    An array of length (2*IM+1)*(2*JM+1). (See Notes below for order of array.)
WORK (R) Working area initialized by SHTINT.

5.
Notes
(a)
When G(-IM:IM,-JM:JM) is declared in advance, G(&lambdai¡¢&phij) will be stored in G(I,J). (For definitions of &lambdai¡¢&phij , see "Summary.")
(b)
Specifying M1=0 and M2=MM is equivalent to calling SHTS2W.