summaryrefslogtreecommitdiff
path: root/lib/flat1a.f90
diff options
context:
space:
mode:
authorChristoph Berg <christoph.berg@credativ.de>2022-08-23 10:23:31 +0200
committerChristoph Berg <christoph.berg@credativ.de>2022-08-23 10:23:31 +0200
commit0e579a45e2e5823f90e2632073749583cd15fa0d (patch)
tree5e709e13d41c8ea0da0968fb6c4566057b4b7909 /lib/flat1a.f90
parent28d1767618141cd6481de2e93e36e3dfa555d4b4 (diff)
parent2d1068e60bce7ae1fff11623454900e8cee956b1 (diff)
Update upstream source from tag 'upstream/2.6.0_rc3+repack'
Update to upstream version '2.6.0~rc3+repack' with Debian dir 9ee8bc3a4b60bb88f4d57c7d1f2d37dbc1632144
Diffstat (limited to 'lib/flat1a.f90')
-rwxr-xr-xlib/flat1a.f9058
1 files changed, 29 insertions, 29 deletions
diff --git a/lib/flat1a.f90 b/lib/flat1a.f90
index b5c0b202..0878b23a 100755
--- a/lib/flat1a.f90
+++ b/lib/flat1a.f90
@@ -1,29 +1,29 @@
-subroutine flat1a(psavg,nsmo,s2,nh,nsteps,nhmax,nsmax)
-
- real psavg(nh)
- real s2(nhmax,nsmax)
- real x(8192)
-
- ia=nsmo/2 + 1
- ib=nh - nsmo/2 - 1
- do i=ia,ib
- call pctile(psavg(i-nsmo/2),nsmo,50,x(i))
- enddo
- do i=1,ia-1
- x(i)=x(ia)
- enddo
- do i=ib+1,nh
- x(i)=x(ib)
- enddo
-
- do i=1,nh
- psavg(i)=psavg(i)/x(i)
- do j=1,nsteps
- s2(i,j)=s2(i,j)/x(i)
- enddo
- enddo
-
- return
-end subroutine flat1a
-
-
+subroutine flat1a(psavg,nsmo,s2,nh,nsteps,nhmax,nsmax)
+
+ real psavg(nh)
+ real s2(nhmax,nsmax)
+ real x(8192)
+
+ ia=nsmo/2 + 1
+ ib=nh - nsmo/2 - 1
+ do i=ia,ib
+ call pctile(psavg(i-nsmo/2),nsmo,50,x(i))
+ enddo
+ do i=1,ia-1
+ x(i)=x(ia)
+ enddo
+ do i=ib+1,nh
+ x(i)=x(ib)
+ enddo
+
+ do i=1,nh
+ psavg(i)=psavg(i)/x(i)
+ do j=1,nsteps
+ s2(i,j)=s2(i,j)/x(i)
+ enddo
+ enddo
+
+ return
+end subroutine flat1a
+
+