summaryrefslogtreecommitdiff
path: root/qmap/libqmap/smo.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 /qmap/libqmap/smo.f90
parent0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff)
New upstream version 3.0.0upstream/3.0.0
Diffstat (limited to 'qmap/libqmap/smo.f90')
-rw-r--r--[-rwxr-xr-x]qmap/libqmap/smo.f9038
1 files changed, 19 insertions, 19 deletions
diff --git a/qmap/libqmap/smo.f90 b/qmap/libqmap/smo.f90
index 87994310..c42de7c6 100755..100644
--- a/qmap/libqmap/smo.f90
+++ b/qmap/libqmap/smo.f90
@@ -1,19 +1,19 @@
-subroutine smo(x,npts,y,nadd)
-
- real x(npts)
- real y(npts)
-
- nh=nadd/2
- do i=1+nh,npts-nh
- sum=0.
- do j=-nh,nh
- sum=sum + x(i+j)
- enddo
- y(i)=sum
- enddo
- x=y
- x(:nh)=0.
- x(npts-nh+1:)=0.
-
- return
-end subroutine smo
+subroutine smo(x,npts,y,nadd)
+
+ real x(npts)
+ real y(npts)
+
+ nh=nadd/2
+ do i=1+nh,npts-nh
+ sum=0.
+ do j=-nh,nh
+ sum=sum + x(i+j)
+ enddo
+ y(i)=sum
+ enddo
+ x=y
+ x(:nh)=0.
+ x(npts-nh+1:)=0.
+
+ return
+end subroutine smo