summaryrefslogtreecommitdiff
path: root/qmap/libqmap/cfom.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 /qmap/libqmap/cfom.f90
parent0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff)
New upstream version 3.0.0upstream/3.0.0
Diffstat (limited to 'qmap/libqmap/cfom.f90')
-rw-r--r--[-rwxr-xr-x]qmap/libqmap/cfom.f9080
1 files changed, 40 insertions, 40 deletions
diff --git a/qmap/libqmap/cfom.f90 b/qmap/libqmap/cfom.f90
index 986a39dc..e58f005b 100755..100644
--- a/qmap/libqmap/cfom.f90
+++ b/qmap/libqmap/cfom.f90
@@ -1,40 +1,40 @@
-subroutine cfom(dd,k0,k,ndop0)
-
- parameter(NMAX=60*96000)
- real dd(2,NMAX)
- complex*16 w,wstep
- complex*8 c
- real*8 twopi,dphi
- logical first
- data first/.true./
- save twopi,w,first
-
- if(first) then
- twopi=8.d0*atan(1.d0)
- w=1.d0
- first=.false.
- endif
-
- dop0=0.5*ndop0
- dphi=dop0*twopi/96000.0
- wstep=cmplx(cos(dphi),sin(dphi))
-
- do j=k0+1,k
- c=w*cmplx(dd(1,j),dd(2,j))
- dd(1,j)=real(c)
- dd(2,j)=aimag(c)
- w=w*wstep
- enddo
-
- return
-end subroutine cfom
-
-subroutine zaptx(dd,k0,k)
-
- parameter(NMAX=60*96000)
- real dd(2,NMAX)
-
- dd(1:2,k0+1:k)=0.
-
- return
-end subroutine zaptx
+subroutine cfom(dd,k0,k,ndop0)
+
+ parameter(NMAX=60*96000)
+ real dd(2,NMAX)
+ complex*16 w,wstep
+ complex*8 c
+ real*8 twopi,dphi
+ logical first
+ data first/.true./
+ save twopi,w,first
+
+ if(first) then
+ twopi=8.d0*atan(1.d0)
+ w=1.d0
+ first=.false.
+ endif
+
+ dop0=0.5*ndop0
+ dphi=dop0*twopi/96000.0
+ wstep=cmplx(cos(dphi),sin(dphi))
+
+ do j=k0+1,k
+ c=w*cmplx(dd(1,j),dd(2,j))
+ dd(1,j)=real(c)
+ dd(2,j)=aimag(c)
+ w=w*wstep
+ enddo
+
+ return
+end subroutine cfom
+
+subroutine zaptx(dd,k0,k)
+
+ parameter(NMAX=60*96000)
+ real dd(2,NMAX)
+
+ dd(1:2,k0+1:k)=0.
+
+ return
+end subroutine zaptx