FV3 Bundle
fft_fourier_to_grid

Given multiple sequences of Fourier space transforms, this routine computes the inverse transform and returns the real data values for all sequences. More...

Collaboration diagram for fft_fourier_to_grid:

Given multiple sequences of Fourier space transforms, this routine computes the inverse transform and returns the real data values for all sequences.

grid = fft_fourier_to_grid( fourier )
Parameters
[in]<fourier>Multiple sequence complex Fourier space transforms. The first dimension must equal n/2+1 (where n is the size of a single real data sequence).
[out]<grid>Multiple sequence of real data values. The first dimension must be n+1 (where n is the size of a single sequence). The remaining dimensions must be the same size as the input argument "fourier".
Exceptions
FATAL"fft_init must be called"
The initialization routine fft_init must be called before routines fft_fourier_to_grid.
FATAL"size of first dimension of input data is wrong"
The complex Fourier field must have a first dimension equal to n/2+1 (where n is the size of each real transform). This message occurs when using the SGI/Cray fft.
FATAL"length of input data too small"
The complex Fourier field must have a first dimension greater than or equal to n/2+1 (where n is the size of each real transform). This message occurs when using the NAG or Temperton fft.
FATAL"float kind not supported for nag fft"
32-bit real data is not supported when using the NAG fft. You may try modifying this part of the code by uncommenting the calls to the NAG library or less consider using the Temperton fft.