Last change
on this file since 5456 was
2,
checked in by lmdz, 25 years ago
|
Initial revision
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
856 bytes
|
Rev | Line | |
---|
[2] | 1 | SUBROUTINE add_tend(n,dt,dx,xi,xf) |
---|
| 2 | c%W% %G% |
---|
| 3 | c======================================================================= |
---|
| 4 | c |
---|
| 5 | c Author: Frederic Hourdin original: 17/02/93 |
---|
| 6 | c ------- |
---|
| 7 | c |
---|
| 8 | c Subject: |
---|
| 9 | c ------ |
---|
| 10 | c Ajout d'une tendance. OUAOUH! |
---|
| 11 | c |
---|
| 12 | c Method: |
---|
| 13 | c -------- |
---|
| 14 | c |
---|
| 15 | c Interface: |
---|
| 16 | c ---------- |
---|
| 17 | c |
---|
| 18 | c Input: |
---|
| 19 | c ------ |
---|
| 20 | c |
---|
| 21 | c Output: |
---|
| 22 | c ------- |
---|
| 23 | c |
---|
| 24 | c======================================================================= |
---|
| 25 | IMPLICIT NONE |
---|
| 26 | c----------------------------------------------------------------------- |
---|
| 27 | c Declararations: |
---|
| 28 | c --------------- |
---|
| 29 | |
---|
| 30 | c Arguments: |
---|
| 31 | c ---------- |
---|
| 32 | INTEGER n |
---|
| 33 | REAL xi(n),dx(n),dt,xf(n) |
---|
| 34 | |
---|
| 35 | c Local: |
---|
| 36 | c ------ |
---|
| 37 | INTEGER i |
---|
| 38 | |
---|
| 39 | c----------------------------------------------------------------------- |
---|
| 40 | |
---|
| 41 | DO i=1,n |
---|
| 42 | xf(i)=xi(i)+dt*dx(i) |
---|
| 43 | ENDDO |
---|
| 44 | |
---|
| 45 | RETURN |
---|
| 46 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.