1 2 #if !defined(__FFT_H) 3 #define __FFT_H 4 5 #include <petsc/private/matimpl.h> 6 7 typedef struct { 8 PetscInt ndim; 9 PetscInt *dim; 10 PetscInt n, N; /* local and global size of the transform */ 11 void *data; /* implementation-specific data for subclass */ 12 13 PetscErrorCode (*matdestroy)(Mat); 14 } Mat_FFT; 15 16 PETSC_EXTERN PetscErrorCode MatCreate_FFTW(Mat); 17 18 #endif 19