diff options
| author | tony mancill <tmancill@debian.org> | 2026-04-12 08:46:47 -0700 |
|---|---|---|
| committer | tony mancill <tmancill@debian.org> | 2026-04-12 08:46:47 -0700 |
| commit | cd2dad3bc7ae0ee0a18b7b20a945009362ec3851 (patch) | |
| tree | 5a622ec4193e9bc899f6499f936848a661be29cb /lib/flat65.f90 | |
| parent | 558c0b9d6ecf70c5222e2069ece1fea3656c75d7 (diff) | |
| parent | 291b3817bf0c7a742e9e17d42c94fc8c9530e40d (diff) | |
Merge branch 'debian/latest' into debian/trixie-backports
Diffstat (limited to 'lib/flat65.f90')
| -rw-r--r--[-rwxr-xr-x] | lib/flat65.f90 | 50 |
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 + + |
