5: #include <petsc-private/matimpl.h> 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: PetscErrorCode (*matdestroy)(Mat); 13: } Mat_FFT; 15: EXTERN_C_BEGIN 16: extern PetscErrorCode MatCreate_FFTW(Mat); 17: EXTERN_C_END 19: #endif