summaryrefslogtreecommitdiff
path: root/lib/smo121.f90
diff options
context:
space:
mode:
Diffstat (limited to 'lib/smo121.f90')
-rw-r--r--[-rwxr-xr-x]lib/smo121.f9026
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/smo121.f90 b/lib/smo121.f90
index 7ae30ad1..d50b790d 100755..100644
--- a/lib/smo121.f90
+++ b/lib/smo121.f90
@@ -1,13 +1,13 @@
-subroutine smo121(x,nz)
-
- real x(nz)
-
- x0=x(1)
- do i=2,nz-1
- x1=x(i)
- x(i)=0.5*x(i) + 0.25*(x0+x(i+1))
- x0=x1
- enddo
-
- return
-end subroutine smo121
+subroutine smo121(x,nz)
+
+ real x(nz)
+
+ x0=x(1)
+ do i=2,nz-1
+ x1=x(i)
+ x(i)=0.5*x(i) + 0.25*(x0+x(i+1))
+ x0=x1
+ enddo
+
+ return
+end subroutine smo121