xref: /petsc/src/mat/impls/fft/fft.h (revision d9acb416d05abeed0a33bde3a81aeb2ea0364f6a)
1 #pragma once
2 
3 #include <petsc/private/matimpl.h>
4 
5 typedef struct {
6   PetscInt  ndim;
7   PetscInt *dim;
8   PetscInt  n, N; /* local and global size of the transform */
9   void     *data; /* implementation-specific data for subclass */
10 
11   PetscErrorCode (*matdestroy)(Mat);
12 } Mat_FFT;
13 
14 PETSC_EXTERN PetscErrorCode MatCreate_FFTW(Mat);
15