diff options
| author | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:35 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:35 +0200 |
| commit | ffc62c792c9a5196cb4ce7a353287dfe20db6524 (patch) | |
| tree | 1269efa852935b183daae4bb33a58d1b4d2ffb53 /lib/spec64.f90 | |
| parent | 059831534c7e884f0a607ed86b582fd00d821731 (diff) | |
New upstream version 3.3.0~beta1+dfsgupstream/3.3.0_beta1+dfsg
Diffstat (limited to 'lib/spec64.f90')
| -rw-r--r-- | lib/spec64.f90 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/spec64.f90 b/lib/spec64.f90 index 1fd732bb..cedc10fa 100644 --- a/lib/spec64.f90 +++ b/lib/spec64.f90 @@ -1,6 +1,8 @@ -subroutine spec64(c0,cs,npts,nsps,mode_q65,jpk,s3,LL,NN) +subroutine spec64(c0,cs,npts,nsps,mode_q65,jpk,s3,LL,NN,plan) use q65_workspace, only: Q65_MAXFFT + use iso_c_binding, only: c_int64_t + integer(c_int64_t), intent(in) :: plan complex c0(0:npts-1) !Complex spectrum of dd() complex cs(0:Q65_MAXFFT-1) !Complex symbol spectrum @@ -28,7 +30,7 @@ subroutine spec64(c0,cs,npts,nsps,mode_q65,jpk,s3,LL,NN) cs(0:nz)=c0(ja:jb) ! if(nz.lt.nfft-1) cs(nz+1:)=0. if(nz.lt.nfft-1 .and. nz.ge.0) cs(nz+1:)=0. !Avoid a potential bounds error with Q65-15 EME - call four2a(cs,nsps,1,-1,1) !c2c FFT to frequency + call sfftw_execute(plan) do ii=1,LL i=ii-65+mode_q65 !mode_q65 = 1 2 4 8 16 for Q65 A B C D E if(i.lt.0) i=i+nsps |
