diff options
| author | Christoph Berg <myon@debian.org> | 2026-10-14 14:39:20 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-10-14 14:39:20 +0200 |
| commit | c576a4281ef8c87990ae6399393a827dfaccacd5 (patch) | |
| tree | 0f28b7d1fc2ba73ccea5d7513281b0f8cae76fb6 /lib/ps4.f90 | |
| parent | ffc62c792c9a5196cb4ce7a353287dfe20db6524 (diff) | |
New upstream version 3.3.0~beta2+dfsgupstream/3.3.0_beta2+dfsgupstream
Diffstat (limited to 'lib/ps4.f90')
| -rw-r--r-- | lib/ps4.f90 | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/lib/ps4.f90 b/lib/ps4.f90 deleted file mode 100644 index 782ab50d..00000000 --- a/lib/ps4.f90 +++ /dev/null @@ -1,27 +0,0 @@ -subroutine ps4(dat,nfft,s) - - parameter (NMAX=2520+2) - parameter (NHMAX=NMAX/2-1) - real dat(nfft) - real dat2(NMAX) - real s(NHMAX) - complex c(0:NMAX) - equivalence(dat2,c) - - nh=nfft/2 - do i=1,nh - dat2(i)=dat(i)/128.0 !### Why 128 ?? - enddo - do i=nh+1,nfft - dat2(i)=0. - enddo - - call four2a(c,nfft,1,-1,0) - - fac=1.0/nfft - do i=1,nh - s(i)=fac*(real(c(i))**2 + aimag(c(i))**2) - enddo - - return -end subroutine ps4 |
