summaryrefslogtreecommitdiff
path: root/lib/flat65.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/flat65.f90
parent0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff)
New upstream version 3.0.0upstream/3.0.0
Diffstat (limited to 'lib/flat65.f90')
-rw-r--r--[-rwxr-xr-x]lib/flat65.f9050
1 files changed, 25 insertions, 25 deletions
diff --git a/lib/flat65.f90 b/lib/flat65.f90
index 7aa106c4..d7e26806 100755..100644
--- a/lib/flat65.f90
+++ b/lib/flat65.f90
@@ -1,25 +1,25 @@
-subroutine flat65(ss,nhsym,maxhsym,nsz,ref)
-
- real stmp(nsz)
- real ss(maxhsym,nsz)
- real ref(nsz)
-
- npct=28 !Somewhat arbitrary
- do i=1,nsz
- call pctile(ss(1,i),nhsym,npct,stmp(i))
- enddo
-
- nsmo=33
- ia=nsmo/2 + 1
- ib=nsz - nsmo/2 - 1
- do i=ia,ib
- call pctile(stmp(i-nsmo/2),nsmo,npct,ref(i))
- enddo
- ref(:ia-1)=ref(ia)
- ref(ib+1:)=ref(ib)
- ref=4.0*ref
-
- return
-end subroutine flat65
-
-
+subroutine flat65(ss,nhsym,maxhsym,nsz,ref)
+
+ real stmp(nsz)
+ real ss(maxhsym,nsz)
+ real ref(nsz)
+
+ npct=28 !Somewhat arbitrary
+ do i=1,nsz
+ call pctile(ss(1,i),nhsym,npct,stmp(i))
+ enddo
+
+ nsmo=33
+ ia=nsmo/2 + 1
+ ib=nsz - nsmo/2 - 1
+ do i=ia,ib
+ call pctile(stmp(i-nsmo/2),nsmo,npct,ref(i))
+ enddo
+ ref(:ia-1)=ref(ia)
+ ref(ib+1:)=ref(ib)
+ ref=4.0*ref
+
+ return
+end subroutine flat65
+
+