summaryrefslogtreecommitdiff
path: root/lib/twkfreq65.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-04-07 19:02:45 +0200
committerChristoph Berg <myon@debian.org>2026-04-07 19:02:45 +0200
commitf647d78463c1250ce9c99af664615fafccf5e959 (patch)
tree5b00428cef68aef1c9d407e2d4535687422419b6 /lib/twkfreq65.f90
parent0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff)
New upstream version 3.0.0upstream/3.0.0
Diffstat (limited to 'lib/twkfreq65.f90')
-rw-r--r--[-rwxr-xr-x]lib/twkfreq65.f9050
1 files changed, 25 insertions, 25 deletions
diff --git a/lib/twkfreq65.f90 b/lib/twkfreq65.f90
index 85847c7b..698faa4d 100755..100644
--- a/lib/twkfreq65.f90
+++ b/lib/twkfreq65.f90
@@ -1,25 +1,25 @@
-subroutine twkfreq65(c4aa,n5,a)
-
- complex c4aa(n5)
- real a(5)
- complex w,wstep
- data twopi/6.283185307/
-
-! Apply AFC corrections to the c4aa data
- w=1.0
- wstep=1.0
- x0=0.5*(n5+1)
- s=2.0/n5
- do i=1,n5
- x=s*(i-x0)
- if(mod(i,100).eq.1) then
- p2=1.5*x*x - 0.5
- dphi=(a(1) + x*a(2) + p2*a(3)) * (twopi/1378.125)
- wstep=cmplx(cos(dphi),sin(dphi))
- endif
- w=w*wstep
- c4aa(i)=w*c4aa(i)
- enddo
-
- return
-end subroutine twkfreq65
+subroutine twkfreq65(c4aa,n5,a)
+
+ complex c4aa(n5)
+ real a(5)
+ complex w,wstep
+ data twopi/6.283185307/
+
+! Apply AFC corrections to the c4aa data
+ w=1.0
+ wstep=1.0
+ x0=0.5*(n5+1)
+ s=2.0/n5
+ do i=1,n5
+ x=s*(i-x0)
+ if(mod(i,100).eq.1) then
+ p2=1.5*x*x - 0.5
+ dphi=(a(1) + x*a(2) + p2*a(3)) * (twopi/1378.125)
+ wstep=cmplx(cos(dphi),sin(dphi))
+ endif
+ w=w*wstep
+ c4aa(i)=w*c4aa(i)
+ enddo
+
+ return
+end subroutine twkfreq65