summaryrefslogtreecommitdiff
path: root/lib/ft8var/syncdist.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2025-09-16 12:37:12 +0200
committerChristoph Berg <myon@debian.org>2025-09-16 12:57:29 +0200
commit5a4967c577ad245a2117b7b2f71c13b1212fe285 (patch)
tree4d09343cfe757239895a0dd9b399242d2a07d7c2 /lib/ft8var/syncdist.f90
parent23c903a09fb1d73fd20b50323cd80cfb3aba8799 (diff)
Merge 2.7 changes, I had uploaded -1 from the wrong branch.debian/3.0.0_rc1+repack-2
Diffstat (limited to 'lib/ft8var/syncdist.f90')
-rwxr-xr-xlib/ft8var/syncdist.f9037
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/ft8var/syncdist.f90 b/lib/ft8var/syncdist.f90
new file mode 100755
index 00000000..ff40754b
--- /dev/null
+++ b/lib/ft8var/syncdist.f90
@@ -0,0 +1,37 @@
+ip=maxloc(s81)
+if(icos7(k-1).eq.(ip(1)-1)) then
+ nsmax(1)=nsmax(1)+1
+else
+ s81(ip(1)-1)=0.; ip=maxloc(s81)
+ if(icos7(k-1).eq.(ip(1)-1)) then
+ nsmax(2)=nsmax(2)+1
+ else
+ s81(ip(1)-1)=0.; ip=maxloc(s81)
+ if(icos7(k-1).eq.(ip(1)-1)) then
+ nsmax(3)=nsmax(3)+1
+ else
+ s81(ip(1)-1)=0.; ip=maxloc(s81)
+ if(icos7(k-1).eq.(ip(1)-1)) then
+ nsmax(4)=nsmax(4)+1
+ else
+ s81(ip(1)-1)=0.; ip=maxloc(s81)
+ if(icos7(k-1).eq.(ip(1)-1)) then
+ nsmax(5)=nsmax(5)+1
+ else
+ s81(ip(1)-1)=0.; ip=maxloc(s81)
+ if(icos7(k-1).eq.(ip(1)-1)) then
+ nsmax(6)=nsmax(6)+1
+ else
+ s81(ip(1)-1)=0.; ip=maxloc(s81)
+ if(icos7(k-1).eq.(ip(1)-1)) then
+ nsmax(7)=nsmax(7)+1
+ else
+ s81(ip(1)-1)=0.; ip=maxloc(s81)
+ if(icos7(k-1).eq.(ip(1)-1)) nsmax(8)=nsmax(8)+1
+ endif
+ endif
+ endif
+ endif
+ endif
+ endif
+endif