P3DFFT stands for Parallel Three-Dimensional Fast Fourier Transforms. It is a library for large-scale computer simulations on parallel platforms. It implements 3D FFT and related algorithms such as Chebyshev transform (an important class of algorithm for simulations in a wide range of fields). P3DFFT uses 2D, or pencil, decomposition. For more information:
update in order to use p3dfft in C++
Edit : pull request close because this update is inside my new pull request : https://github.com/sdsc/p3dfft/pull/3
Sorry for my difficulties with github ;-)