xref: /petsc/src/mat/impls/fft/fft.h (revision 2c3ca321cdac8b3d77d0c0c1d47582abc00b7bcd)
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 EXTERN_C_BEGIN
17 PETSC_INTERN PetscErrorCode MatCreate_FFTW(Mat);
18 EXTERN_C_END
19 
20 #endif
21