Rate This Document
Findability
Accuracy
Completeness
Readability

kml_fft(f)_mpi_execute_dft_r2c_ext

Execute the created FFT plan.

Interface Definition

C interface:

void kml_fft_mpi_execute_dft_r2c_ext(const kml_fft_plan p, double *in, kml_fft_complex *out, int scale);

void kml_fftf_mpi_execute_dft_r2c_ext(const kml_fftf_plan p, float *in, kml_fftf_complex *out, int scale);

Parameters

Parameter

Data Type

Description

Input/Output

p

  • Double precision: const kml_fft_plan
  • Single precision: const kml_fftf_plan

FFT plan obtained by calling the plan function.

Input

in

  • Double precision: double*
  • Single precision: float*

Inputs the data to be transformed.

Input

out

  • Double precision: kml_fft_complex*
  • Single precision: kml_fftf_complex*

Outputs the data generated using FFT.

Output

scale

int

Whether to scale the output result. If scale is set to 1, the output result is scaled. If scale is set to 0, the output result is not processed.

Input

Dependencies

C: "kfft-mpi.h"

Examples

See R2C Transforms.