Last change
on this file since 134 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:
1.1 KB
|
Rev | Line | |
---|
[2] | 1 | SUBROUTINE gr_u_scal(nx,x_u,x_scal) |
---|
| 2 | c%W% %G% |
---|
| 3 | c======================================================================= |
---|
| 4 | c |
---|
| 5 | c Author: Frederic Hourdin original: 11/11/92 |
---|
| 6 | c ------- |
---|
| 7 | c |
---|
| 8 | c Subject: |
---|
| 9 | c ------ |
---|
| 10 | c |
---|
| 11 | c Method: |
---|
| 12 | c -------- |
---|
| 13 | c |
---|
| 14 | c Interface: |
---|
| 15 | c ---------- |
---|
| 16 | c |
---|
| 17 | c Input: |
---|
| 18 | c ------ |
---|
| 19 | c |
---|
| 20 | c Output: |
---|
| 21 | c ------- |
---|
| 22 | c |
---|
| 23 | c======================================================================= |
---|
| 24 | IMPLICIT NONE |
---|
| 25 | c----------------------------------------------------------------------- |
---|
| 26 | c Declararations: |
---|
| 27 | c --------------- |
---|
| 28 | |
---|
| 29 | #include "dimensions.h" |
---|
| 30 | #include "paramet.h" |
---|
| 31 | #include "comgeom.h" |
---|
| 32 | |
---|
| 33 | c Arguments: |
---|
| 34 | c ---------- |
---|
| 35 | |
---|
| 36 | INTEGER nx |
---|
| 37 | REAL x_u(ip1jmp1,nx),x_scal(ip1jmp1,nx) |
---|
| 38 | |
---|
| 39 | c Local: |
---|
| 40 | c ------ |
---|
| 41 | |
---|
| 42 | INTEGER l,ij |
---|
| 43 | |
---|
| 44 | c----------------------------------------------------------------------- |
---|
| 45 | |
---|
| 46 | DO l=1,nx |
---|
| 47 | DO ij=ip1jmp1,2,-1 |
---|
| 48 | x_scal(ij,l)= |
---|
| 49 | s (aireu(ij)*x_u(ij,l)+aireu(ij-1)*x_u(ij-1,l)) |
---|
| 50 | s /(aireu(ij)+aireu(ij-1)) |
---|
| 51 | ENDDO |
---|
| 52 | ENDDO |
---|
| 53 | |
---|
| 54 | CALL SCOPY(nx*jjp1,x_scal(iip1,1),iip1,x_scal(1,1),iip1) |
---|
| 55 | |
---|
| 56 | RETURN |
---|
| 57 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.