petsc-3.7.7 2017-09-25
   
MatCreateFFT
Creates a matrix object that provides FFT via an external package 
Synopsis
#include "petscmat.h" 
PetscErrorCode MatCreateFFT(MPI_Comm comm,PetscInt ndim,const PetscInt dim[],MatType mattype,Mat *A)
Collective on MPI_Comm
Input Parameter
|  | 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 | 
Output Parameter
A   -the matrix
Options Database Keys