For computing direct and inverse Fourier transforms.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real, | private | :: | work(ix) | Work array required by FFTPACK. Contains trigonometric functions etc.  | 
  
|||
| integer, | private | :: | ifac(15) | Work array required by FFTPACK. Contains prime factors  | 
  
Transforms Fourier coefficients to grid-point data.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real, | intent(in) | :: | input(2*mx,il) | Input field  | 
  
||
| integer, | intent(in) | :: | kcos | Scale output by cos(lat) (1) or not (0)  | 
  
Output field
Transforms grid-point data to Fourier coefficients.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real, | intent(in) | :: | input(ix,il) | Input field  | 
  
Output field
Initializes the Fourier transforms.