#include "petscmat.h" PetscErrorCode MatCreateFFT(MPI_Comm comm,PetscInt ndim,const PetscInt dim[],const MatType mattype,Mat* A)Collective on MPI_Comm
comm | - MPI communicator | |
ndim | - the ndim-dimensional transform | |
dim | - array of size ndim, dim[i] contains the vector length in the i-dimension | |
type | - package type, e.g., FFTW or FFTCU |
-mat_fft_type | - set FFT type |