xref: /petsc/src/mat/impls/fft/fft.h (revision d5b43468fb8780a8feea140ccd6fa3e6a50411cc)
1 
2 #ifndef __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