P3DFFT++ Fortran examplesΒΆ

test1D_cos.f90 This program exemplifies the use of 1D transforms in P3DFFT++, for a 1D cosine transform, for real-valued arrays. 1D transforms are performed on 3D arrays, in the dimension specified as an argument. This could be an isolated 1D transform or a stage in a multidimensional transform. This function can do local transposition, i.e. arbitrary input and output memory ordering. However it does not do an inter-processor transpose (see test_transMPI for that).
test1D_cos_complex.f90 This program exemplifies the use of 1D transforms in P3DFFT++, for a 1D cosine transform, for complex-valued arrays. 1D transforms are performed on 3D arrays, in the dimension specified as an argument. This could be an isolated 1D transform or a stage in a multidimensional transform. This function can do local transposition, i.e. arbitrary input and output memory ordering. However it does not do an inter-processor transpose (see test_transMPI for that).
test1D_r2c.f90 This program exemplifies the use of 1D transforms in P3DFFT++, for a 1D real-to-complex FFT. 1D transforms are performed on 3D arrays, in the dimension specified as an argument. This could be an isolated 1D transform or a stage in a multidimensional transform. This function can do local transposition, i.e. arbitrary input and output memory ordering. However it does not do an inter-processor transpose (see test_transMPI for that).
test3D_c2c.f90 This sample program illustrates the use of P3DFFT++ library for highly scalable parallel 3D FFT, for a 3D complex FFT.
test3D_c2c_inplace.f90 This sample program illustrates the use of P3DFFT++ library for highly scalable parallel 3D FFT, for a 3D complex FFT. This is an in-place version (output overwrites input at the same location).
test3D_r2c.f90 This sample program illustrates the use of P3DFFT++ library for highly scalable parallel 3D FFT, for a 3D real-to-complex FFT.
test3D_r2c_single.f90 This sample program illustrates the use of P3DFFT++ library for highly scalable parallel 3D FFT, for a 3D real-to-complex FFT. This is a single precision version of test3D_r2c.f90 example.
test_deriv.f90 This program exemplifies using P3DFFT++ library for taking a spectral derivative of a 3D array in a given dimension.
test_deriv2.f90 This program exemplifies using P3DFFT++ library for taking a spectral derivative of a 3D array in a given dimension. Derivative is implemented in this test program , based on 3D FFT obtained from P3DFFT++ library.