Last change
on this file since 1611 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.5 KB
|
Rev | Line | |
---|
[2] | 1 | SUBROUTINE flumass_scal(pbaru,pbarv,w,v) |
---|
| 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 On ramene les flux de masse aux points scalaires. |
---|
| 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 | #include "dimensions.h" |
---|
| 31 | #include "paramet.h" |
---|
| 32 | #include "comgeom.h" |
---|
| 33 | |
---|
| 34 | c Arguments: |
---|
| 35 | c ---------- |
---|
| 36 | |
---|
| 37 | REAL pbaru(ip1jmp1,llm),pbarv(ip1jm,llm),w(ip1jmp1,llm) |
---|
| 38 | REAL v(ip1jmp1,llm,3) |
---|
| 39 | |
---|
| 40 | c Local: |
---|
| 41 | c ------ |
---|
| 42 | |
---|
| 43 | INTEGER ij,l |
---|
| 44 | |
---|
| 45 | c----------------------------------------------------------------------- |
---|
| 46 | |
---|
| 47 | c transport zonal: |
---|
| 48 | c ---------------- |
---|
| 49 | DO l=1,llm |
---|
| 50 | DO ij=2,ip1jmp1 |
---|
| 51 | v(ij,l,1)=.5*(pbaru(ij,l)+pbaru(ij-1,l)) |
---|
| 52 | ENDDO |
---|
| 53 | ENDDO |
---|
| 54 | CALL SCOPY(jjp1*llm,v(iip1,1,1),iip1,v(1,1,1),iip1) |
---|
| 55 | |
---|
| 56 | c Transport meridien: |
---|
| 57 | c ------------------- |
---|
| 58 | DO l=1,llm |
---|
| 59 | DO ij=iip2,ip1jm |
---|
| 60 | v(ij,l,2)=.5*(pbarv(ij,l)+pbarv(ij-iip1,l)) |
---|
| 61 | ENDDO |
---|
| 62 | DO ij=1,iip1 |
---|
| 63 | v(ij,l,2)=0. |
---|
| 64 | v(ip1jm+ij,l,2)=0. |
---|
| 65 | ENDDO |
---|
| 66 | ENDDO |
---|
| 67 | |
---|
| 68 | c Transport vertical: |
---|
| 69 | c ------------------- |
---|
| 70 | DO l=1,llm-1 |
---|
| 71 | DO ij=1,ip1jmp1 |
---|
| 72 | v(ij,l,3)=.5*(w(ij,l)+w(ij,l+1)) |
---|
| 73 | ENDDO |
---|
| 74 | ENDDO |
---|
| 75 | DO ij=1,ip1jmp1 |
---|
| 76 | v(ij,llm,3)=.5*w(ij,llm) |
---|
| 77 | ENDDO |
---|
| 78 | |
---|
| 79 | RETURN |
---|
| 80 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.