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/flat2.f90 | |
| parent | 558c0b9d6ecf70c5222e2069ece1fea3656c75d7 (diff) | |
| parent | 291b3817bf0c7a742e9e17d42c94fc8c9530e40d (diff) | |
Merge branch 'debian/latest' into debian/trixie-backports
Diffstat (limited to 'lib/flat2.f90')
| -rw-r--r--[-rwxr-xr-x] | lib/flat2.f90 | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/lib/flat2.f90 b/lib/flat2.f90 index cebd989f..5b42ff79 100755..100644 --- a/lib/flat2.f90 +++ b/lib/flat2.f90 @@ -1,18 +1,18 @@ -subroutine flat2(s,nz,ref)
-
- parameter (NSMAX=6827)
- real s(NSMAX)
- real ref(NSMAX)
-
- nsmo=10
- ia=nsmo+1
- ib=nz-nsmo-1
- do i=ia,ib
- call pctile(s(i-nsmo),2*nsmo+1,5,ref(i))
- enddo
-
- ref(:ia-1)=ref(ia)
- ref(ib+1:)=ref(ib)
-
- return
-end subroutine flat2
+subroutine flat2(s,nz,ref) + + parameter (NSMAX=6827) + real s(NSMAX) + real ref(NSMAX) + + nsmo=10 + ia=nsmo+1 + ib=nz-nsmo-1 + do i=ia,ib + call pctile(s(i-nsmo),2*nsmo+1,5,ref(i)) + enddo + + ref(:ia-1)=ref(ia) + ref(ib+1:)=ref(ib) + + return +end subroutine flat2 |
