summaryrefslogtreecommitdiff
path: root/lib/flat1b.f90
diff options
context:
space:
mode:
authorChristoph Berg <christoph.berg@credativ.de>2022-08-23 10:23:16 +0200
committerChristoph Berg <christoph.berg@credativ.de>2022-08-23 10:23:16 +0200
commit2d1068e60bce7ae1fff11623454900e8cee956b1 (patch)
treeacebe276e30466ef0ab91bc3da5e379bec0d7dc5 /lib/flat1b.f90
parent43bebfbad6e7ba026bd3d55720c7d9e12a7ef8ef (diff)
New upstream version 2.6.0~rc3+repackupstream/2.6.0_rc3+repack
Diffstat (limited to 'lib/flat1b.f90')
-rwxr-xr-xlib/flat1b.f9058
1 files changed, 29 insertions, 29 deletions
diff --git a/lib/flat1b.f90 b/lib/flat1b.f90
index bc22b855..1059dbcc 100755
--- a/lib/flat1b.f90
+++ b/lib/flat1b.f90
@@ -1,29 +1,29 @@
-subroutine flat1b(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 flat1b
-
-
+subroutine flat1b(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 flat1b
+
+