39 const bool use_guru_interface,
const char *wisdom_file);
88 const bool direction,
const int fft_size,
const int number_of_ffts,
89 const bool transpose_in,
const bool transpose_out,
90 const int leading_dimension_in,
const int leading_dimension_out,
91 double complex *grid_in,
double complex *grid_out);
98 const int fft_size,
const int number_of_ffts,
const bool transpose_in,
99 const bool transpose_out,
const int leading_dimension_in,
100 const int leading_dimension_out,
double *grid_in,
double complex *grid_out);
107 const int fft_size,
const int number_of_ffts,
const bool transpose_in,
108 const bool transpose_out,
const int leading_dimension_in,
109 const int leading_dimension_out,
double complex *grid_in,
double *grid_out);
116 const int number_of_ffts,
117 const bool transpose_in,
118 const bool transpose_out,
119 double complex *grid_in,
120 double complex *grid_out);
127 const int number_of_ffts,
128 const bool transpose_in,
129 const bool transpose_out,
double *grid_in,
130 double complex *grid_out);
137 const int number_of_ffts,
138 const bool transpose_in,
139 const bool transpose_out,
140 double complex *grid_in,
double *grid_out);
149 const int number_of_threads,
150 double complex *grid_in,
double complex *grid_out);
157 int howmany_rank,
const fft_iodim *howmany_dims,
158 const int number_of_threads,
double *grid_in,
159 double complex *grid_out);
166 int howmany_rank,
const fft_iodim *howmany_dims,
167 const int number_of_threads,
168 double complex *grid_in,
double *grid_out);
175 const int number_of_ffts,
176 const bool transpose_in,
177 const bool transpose_out,
178 double complex *grid_in,
179 double complex *grid_out);
186 const int number_of_ffts,
187 const bool transpose_in,
188 const bool transpose_out,
double *grid_in,
189 double complex *grid_out);
196 const int number_of_ffts,
197 const bool transpose_in,
198 const bool transpose_out,
199 double complex *grid_in,
double *grid_out);
206 const int npts_global[2],
207 const int number_of_ffts,
209 double complex *grid_in,
210 double complex *grid_out);
217 const int number_of_ffts,
220 double complex *grid_out);
227 const int number_of_ffts,
229 double complex *grid_in,
237 const int npts_global[3],
239 double complex *grid_in,
240 double complex *grid_out);
249 double complex *grid_out);
257 double complex *grid_in,
265 const int number_of_ffts,
const bool transpose_in,
266 const bool transpose_out,
const int leading_dimension_in,
267 const int leading_dimension_out,
double complex *grid_in,
268 double complex *grid_out);
275 const bool transpose_in,
const bool transpose_out,
276 const int leading_dimension_in,
277 const int leading_dimension_out,
double *grid_in,
278 double complex *grid_out);
285 const bool transpose_in,
const bool transpose_out,
286 const int leading_dimension_in,
287 const int leading_dimension_out,
288 double complex *grid_in,
double *grid_out);
295 const int number_of_ffts,
const bool transpose_in,
296 const bool transpose_out,
double complex *grid_in,
297 double complex *grid_out);
304 const bool transpose_in,
const bool transpose_out,
305 double *grid_in,
double complex *grid_out);
312 const bool transpose_in,
const bool transpose_out,
313 double complex *grid_in,
double *grid_out);
320 const int howmany_rank,
const fft_iodim *howmany_dims,
321 const int number_of_threads,
double complex *grid_in,
322 double complex *grid_out);
330 const int number_of_threads,
double *grid_in,
331 double complex *grid_out);
339 const int number_of_threads,
double complex *grid_in,
347 const int number_of_ffts,
const bool transpose_in,
348 const bool transpose_out,
double complex *grid_in,
349 double complex *grid_out);
356 const bool transpose_in,
const bool transpose_out,
357 double *grid_in,
double complex *grid_out);
364 const bool transpose_in,
const bool transpose_out,
365 double complex *grid_in,
double *grid_out);
372 const int number_of_ffts,
374 int *local_n0_start,
int *local_n1,
375 int *local_n1_start);
382 const int number_of_ffts,
384 int *local_n0_start,
int *local_n1,
385 int *local_n1_start);
393 int *local_n0_start,
int *local_n1,
394 int *local_n1_start);
402 int *local_n0_start,
int *local_n1,
403 int *local_n1_start);
411 double complex *restrict grid_in,
412 double complex *restrict grid_out);
419 const int number_of_ffts,
421 double *restrict grid_in,
422 double complex *restrict grid_out);
429 const int number_of_ffts,
431 double complex *restrict grid_in,
432 double *restrict grid_out);
440 double complex *restrict grid_in,
441 double complex *restrict grid_out);
449 double *restrict grid_in,
450 double complex *restrict grid_out);
458 double complex *restrict grid_in,
459 double *restrict grid_out);
bool fft_fftw_lib_has_guru_interface()
Whether the guru interface is available.
void fft_fftw_3d_r2c_local(const int fft_size[3], const int number_of_ffts, const bool transpose_in, const bool transpose_out, double *grid_in, double complex *grid_out)
Performs a local forward R2C 3D FFT.
void fft_fftw_2d_r2c_distributed(const int npts_global[2], const int number_of_ffts, const cp_mpi_comm_t comm, double *restrict grid_in, double complex *restrict grid_out)
Performs a distributed forward R2C 2D FFT.
void fft_fftw_register_3d_distributed(const bool direction, const int npts_global[3], const cp_mpi_comm_t comm, double complex *grid_in, double complex *grid_out)
Performs a distributed C2C 3D FFT.
void fft_fftw_3d_local(const bool direction, const int fft_size[3], const int number_of_ffts, const bool transpose_in, const bool transpose_out, double complex *grid_in, double complex *grid_out)
Performs a local C2C 3D FFT.
void fft_fftw_1d_c2r_local(const int fft_size, const int number_of_ffts, const bool transpose_in, const bool transpose_out, const int leading_dimension_in, const int leading_dimension_out, double complex *grid_in, double *grid_out)
Performs a local backwards C2R 1D FFT.
void fft_fftw_1d_local(const bool direction, const int fft_size, const int number_of_ffts, const bool transpose_in, const bool transpose_out, const int leading_dimension_in, const int leading_dimension_out, double complex *grid_in, double complex *grid_out)
Performs a local forward C2C 1D FFT.
void fft_fftw_register_2d_distributed(const bool direction, const int npts_global[2], const int number_of_ffts, const cp_mpi_comm_t comm, double complex *grid_in, double complex *grid_out)
Performs a distributed C2C 2D FFT.
int fft_fftw_2d_distributed_sizes(const int npts_global[2], const int number_of_ffts, const cp_mpi_comm_t comm, int *local_n0, int *local_n0_start, int *local_n1, int *local_n1_start)
Returns sizes and starts of distributed C2C 2D FFTs.
void fft_fftw_register_2d_c2r_local(const int fft_size[2], const int number_of_ffts, const bool transpose_in, const bool transpose_out, double complex *grid_in, double *grid_out)
Performs a local backwards C2R 2D FFT.
void fft_fftw_3d_c2r_distributed(const int npts_global[3], const cp_mpi_comm_t comm, double complex *restrict grid_in, double *restrict grid_out)
Performs a distributed backwards C2R 3D FFT.
void fft_fftw_guru(const bool direction, const int rank, const fft_iodim *dims, const int howmany_rank, const fft_iodim *howmany_dims, const int number_of_threads, double complex *grid_in, double complex *grid_out)
Performs a local C2C 3D FFT.
int fft_fftw_2d_distributed_sizes_r2c(const int npts_global[2], const int number_of_ffts, const cp_mpi_comm_t comm, int *local_n0, int *local_n0_start, int *local_n1, int *local_n1_start)
Returns sizes and starts of distributed R2C/C2R 2D FFTs.
void fft_fftw_register_3d_c2r_local(const int fft_size[3], const int number_of_ffts, const bool transpose_in, const bool transpose_out, double complex *grid_in, double *grid_out)
Performs a local backwards R2C 3D FFT.
void fft_fftw_free_double(double *buffer)
Free buffer of type double.
void fft_fftw_2d_distributed(const bool direction, const int npts_global[2], const int number_of_ffts, const cp_mpi_comm_t comm, double complex *restrict grid_in, double complex *restrict grid_out)
Performs a distributed forward C2C 2D FFT.
void fft_fftw_2d_r2c_local(const int fft_size[2], const int number_of_ffts, const bool transpose_in, const bool transpose_out, double *grid_in, double complex *grid_out)
Performs a local forward R2C 2D FFT.
void fft_fftw_register_2d_r2c_local(const int fft_size[2], const int number_of_ffts, const bool transpose_in, const bool transpose_out, double *grid_in, double complex *grid_out)
Performs a local forward R2C 2D FFT.
int fft_fftw_init_lib(const fftw_plan_type fftw_planning_flag, const bool use_guru_interface, const char *wisdom_file)
Initialize the FFT library (if not done externally).
void fft_fftw_register_2d_c2r_distributed(const int npts_global[2], const int number_of_ffts, const cp_mpi_comm_t comm, double complex *grid_in, double *grid_out)
Performs a distributed backwards C2R 2D FFT.
void fft_fftw_register_3d_r2c_local(const int fft_size[3], const int number_of_ffts, const bool transpose_in, const bool transpose_out, double *grid_in, double complex *grid_out)
Performs a local forward R2C 3D FFT.
void fft_fftw_guru_r2c(int rank, const fft_iodim *dims, int howmany_rank, const fft_iodim *howmany_dims, const int number_of_threads, double *grid_in, double complex *grid_out)
Performs a local forward R2C 3D FFT.
void fft_fftw_register_2d_local(const bool direction, const int fft_size[2], const int number_of_ffts, const bool transpose_in, const bool transpose_out, double complex *grid_in, double complex *grid_out)
Performs a local C2C 2D FFT.
void fft_fftw_register_r2c_guru(int rank, const fft_iodim *dims, int howmany_rank, const fft_iodim *howmany_dims, const int number_of_threads, double *grid_in, double complex *grid_out)
Performs a local forward R2C 3D FFT.
void fft_fftw_register_c2r_guru(int rank, const fft_iodim *dims, int howmany_rank, const fft_iodim *howmany_dims, const int number_of_threads, double complex *grid_in, double *grid_out)
Performs a local backwards R2C 3D FFT.
void fft_fftw_3d_distributed(const bool direction, const int npts_global[3], const cp_mpi_comm_t comm, double complex *restrict grid_in, double complex *restrict grid_out)
Performs a distributed C2C 3D FFT.
void fft_fftw_allocate_complex(const int length, double complex **buffer)
Allocate buffer of type double complex.
void fft_fftw_2d_c2r_local(const int fft_size[2], const int number_of_ffts, const bool transpose_in, const bool transpose_out, double complex *grid_in, double *grid_out)
Performs a local backwards C2R 2D FFT.
void fft_fftw_free_complex(double complex *buffer)
Free buffer of type double complex.
void fft_fftw_guru_c2r(int rank, const fft_iodim *dims, int howmany_rank, const fft_iodim *howmany_dims, const int number_of_threads, double complex *grid_in, double *grid_out)
Performs a local backwards R2C 3D FFT.
void fft_fftw_2d_c2r_distributed(const int npts_global[2], const int number_of_ffts, const cp_mpi_comm_t comm, double complex *restrict grid_in, double *restrict grid_out)
Performs a distributed backwards C2R 2D FFT.
void fft_fftw_3d_r2c_distributed(const int npts_global[3], const cp_mpi_comm_t comm, double *restrict grid_in, double complex *restrict grid_out)
Performs a distributed forward R2C 3D FFT.
void fft_fftw_register_1d_local(const bool direction, const int fft_size, const int number_of_ffts, const bool transpose_in, const bool transpose_out, const int leading_dimension_in, const int leading_dimension_out, double complex *grid_in, double complex *grid_out)
Performs a local C2C 1D FFT.
void fft_fftw_finalize_lib(const char *wisdom_file)
Finalize the FFT library (if not done externally).
void fft_fftw_3d_c2r_local(const int fft_size[3], const int number_of_ffts, const bool transpose_in, const bool transpose_out, double complex *grid_in, double *grid_out)
Performs a local backwards R2C 3D FFT.
void fft_fftw_1d_r2c_local(const int fft_size, const int number_of_ffts, const bool transpose_in, const bool transpose_out, const int leading_dimension_in, const int leading_dimension_out, double *grid_in, double complex *grid_out)
Performs a local forward R2C FFT.
bool fft_fftw_lib_use_mpi()
Whether a distributed FFT implementation is available.
void fft_fftw_register_3d_c2r_distributed(const int npts_global[3], const cp_mpi_comm_t comm, double complex *grid_in, double *grid_out)
Performs a distributed backwards C2R 3D FFT.
void fft_fftw_register_1d_c2r_local(const int fft_size, const int number_of_ffts, const bool transpose_in, const bool transpose_out, const int leading_dimension_in, const int leading_dimension_out, double complex *grid_in, double *grid_out)
Performs a local backwards C2R 1D FFT.
void fft_fftw_register_1d_r2c_local(const int fft_size, const int number_of_ffts, const bool transpose_in, const bool transpose_out, const int leading_dimension_in, const int leading_dimension_out, double *grid_in, double complex *grid_out)
Performs a local forward R2C FFT.
void fft_fftw_register_3d_r2c_distributed(const int npts_global[3], const cp_mpi_comm_t comm, double *grid_in, double complex *grid_out)
Performs a distributed forward R2C 3D FFT.
void fft_fftw_register_3d_local(const bool direction, const int fft_size[3], const int number_of_ffts, const bool transpose_in, const bool transpose_out, double complex *grid_in, double complex *grid_out)
Performs a local C2C 3D FFT.
void fft_fftw_register_guru(const bool direction, int rank, const fft_iodim *dims, int howmany_rank, const fft_iodim *howmany_dims, const int number_of_threads, double complex *grid_in, double complex *grid_out)
Performs a local C2C 3D FFT.
void fft_fftw_register_2d_r2c_distributed(const int npts_global[2], const int number_of_ffts, const cp_mpi_comm_t comm, double *grid_in, double complex *grid_out)
Performs a distributed forward R2C 2D FFT.
void fft_fftw_2d_local(const bool direction, const int fft_size[2], const int number_of_ffts, const bool transpose_in, const bool transpose_out, double complex *grid_in, double complex *grid_out)
Performs a local C2C 2D FFT.
int fft_fftw_3d_distributed_sizes(const int npts_global[3], const cp_mpi_comm_t comm, int *local_n0, int *local_n0_start, int *local_n1, int *local_n1_start)
Returns sizes and starts of distributed C2C 3D FFTs.
int fft_fftw_3d_distributed_sizes_r2c(const int npts_global[3], const cp_mpi_comm_t comm, int *local_n0, int *local_n0_start, int *local_n1, int *local_n1_start)
Returns sizes and starts of distributed R2C/C2R 3D FFTs.
void fft_fftw_allocate_double(const int length, double **buffer)
Allocate buffer of type double.