dtfft_create_plan_c2c_c Function

private function dtfft_create_plan_c2c_c(ndims, dims, comm, precision, effort, executor, plan_ptr) result(error_code) bind(C)

Creates C2C dtFFT Plan, allocates all structures and prepares FFT, C/C++ interface

Arguments

Type IntentOptional Attributes Name
integer(kind=c_int8_t), intent(in) :: ndims

Rank of transform. Can be 2 or 3.

type(c_ptr), intent(in), value :: dims

Global sizes of transform

integer(kind=c_int32_t), intent(in), value :: comm

Communicator

type(dtfft_precision_t), intent(in) :: precision

Precision of transform

type(dtfft_effort_t), intent(in) :: effort

dtFFT planner effort type

type(dtfft_executor_t), intent(in) :: executor

Type of External FFT Executor

type(c_ptr), intent(out) :: plan_ptr

C pointer to Fortran plan

Return Value integer(kind=c_int32_t)

The enumerated type dtfft_error_t defines API call result codes.


Calls

proc~~dtfft_create_plan_c2c_c~~CallsGraph proc~dtfft_create_plan_c2c_c dtfft_create_plan_c2c_c create create proc~dtfft_create_plan_c2c_c->create proc~get_comm get_comm proc~dtfft_create_plan_c2c_c->proc~get_comm