#include "petscmat.h" PetscErrorCode MatCreateSeqCUFFT(MPI_Comm comm, PetscInt ndim, const PetscInt dim[], Mat *A)Collective on MPI_Comm
comm | - MPI communicator, set to PETSC_COMM_SELF | |
ndim | - the ndim-dimensional transform | |
dim | - array of size ndim, dim[i] contains the vector length in the i-dimension |