Add plan for c2c 2d transform
This commit is contained in:
parent
689cc70daa
commit
9f7fc424ec
@ -114,6 +114,9 @@ public: \
|
|||||||
static plan_type plan_dft_3d(int Nx, int Ny, int Nz, complex_type *in, complex_type *out, int sign, unsigned flags) { \
|
static plan_type plan_dft_3d(int Nx, int Ny, int Nz, complex_type *in, complex_type *out, int sign, unsigned flags) { \
|
||||||
return prefix ## _plan_dft_3d(Nx, Ny, Nz, in, out, sign, flags); \
|
return prefix ## _plan_dft_3d(Nx, Ny, Nz, in, out, sign, flags); \
|
||||||
} \
|
} \
|
||||||
|
static plan_type plan_dft_2d(int Nx, int Ny, complex_type *in, complex_type *out, int sign, unsigned flags) { \
|
||||||
|
return prefix ## _plan_dft_2d(Nx, Ny, in, out, sign, flags); \
|
||||||
|
} \
|
||||||
static void destroy_plan(plan_type plan) { prefix ## _destroy_plan(plan); } \
|
static void destroy_plan(plan_type plan) { prefix ## _destroy_plan(plan); } \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -97,6 +97,9 @@ public: \
|
|||||||
static plan_type plan_dft_3d(int Nx, int Ny, int Nz, complex_type *in, complex_type *out, MPI_Comm comm, int sign, unsigned flags) { \
|
static plan_type plan_dft_3d(int Nx, int Ny, int Nz, complex_type *in, complex_type *out, MPI_Comm comm, int sign, unsigned flags) { \
|
||||||
return prefix ## _mpi_plan_dft_3d(Nx, Ny, Nz, in, out, comm, sign, flags); \
|
return prefix ## _mpi_plan_dft_3d(Nx, Ny, Nz, in, out, comm, sign, flags); \
|
||||||
} \
|
} \
|
||||||
|
static plan_type plan_dft_2d(int Nx, int Ny, complex_type *in, complex_type *out, MPI_Comm comm, int sign, unsigned flags) { \
|
||||||
|
return prefix ## _mpi_plan_dft_2d(Nx, Ny, in, out, comm, sign, flags); \
|
||||||
|
} \
|
||||||
static void destroy_plan(plan_type plan) { prefix ## _destroy_plan(plan); } \
|
static void destroy_plan(plan_type plan) { prefix ## _destroy_plan(plan); } \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user