Merged in natalia/qlpt_feature (pull request #2)
Add plan for c2c 2d transform Approved-by: Guilhem Lavaux
This commit is contained in:
commit
67c609a422
@ -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