diff options
| author | Christoph Berg <myon@debian.org> | 2019-04-29 22:08:59 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2019-04-29 22:08:59 +0200 |
| commit | b7238399ea4f1ca51d8f7b8f9220af3da0913edf (patch) | |
| tree | 9716c5c0a793b2f7cda83e9d8f840095a0e9358e /lib/four2a.f90 | |
| parent | 200de07a95209a55d6019ba87f0abc78d302bf4c (diff) | |
New upstream version 2.1.0~rc5+repackupstream/2.1.0_rc5+repack
Diffstat (limited to 'lib/four2a.f90')
| -rw-r--r-- | lib/four2a.f90 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/four2a.f90 b/lib/four2a.f90 index 57c7239e..337ca15c 100644 --- a/lib/four2a.f90 +++ b/lib/four2a.f90 @@ -19,6 +19,7 @@ subroutine four2a(a,nfft,ndim,isign,iform) ! This version of four2a makes calls to the FFTW library to do the ! actual computations. + use fftw3 parameter (NPMAX=2100) !Max numberf of stored plans parameter (NSMALL=16384) !Max size of "small" FFTs complex a(nfft) !Array to be transformed @@ -29,7 +30,6 @@ subroutine four2a(a,nfft,ndim,isign,iform) logical found_plan data nplan/0/ !Number of stored plans common/patience/npatience,nthreads !Patience and threads for FFTW plans - include 'fftw3.f90' !FFTW definitions save plan,nplan,nn,ns,nf,nl if(nfft.lt.0) go to 999 @@ -107,7 +107,7 @@ subroutine four2a(a,nfft,ndim,isign,iform) !$omp end critical(fftw) end if enddo - + call fftwf_cleanup() nplan=0 !$omp end critical(four2a) |
