Last change
on this file since 1056 was
1056,
checked in by slebonnois, 11 years ago
|
SL: Titan runs ! see DOC/chantiers/commit_importants.log
|
File size:
1.2 KB
|
Line | |
---|
1 | SUBROUTINE wind_scal(pbaru,pbarv,us,vs) |
---|
2 | c======================================================================= |
---|
3 | c |
---|
4 | c |
---|
5 | c Subject: |
---|
6 | c ------ |
---|
7 | c On ramene les flux de masse /vents aux points scalaires. |
---|
8 | c |
---|
9 | c======================================================================= |
---|
10 | IMPLICIT NONE |
---|
11 | c----------------------------------------------------------------------- |
---|
12 | c Declararations: |
---|
13 | c --------------- |
---|
14 | |
---|
15 | #include "dimensions.h" |
---|
16 | #include "paramet.h" |
---|
17 | #include "comgeom.h" |
---|
18 | |
---|
19 | c Arguments: |
---|
20 | c ---------- |
---|
21 | |
---|
22 | REAL pbaru(ip1jmp1,llm),pbarv(ip1jm,llm) |
---|
23 | REAL us(ip1jmp1,llm), vs (ip1jmp1,llm) |
---|
24 | |
---|
25 | c Local: |
---|
26 | c ------ |
---|
27 | |
---|
28 | INTEGER ij,l |
---|
29 | |
---|
30 | c----------------------------------------------------------------------- |
---|
31 | |
---|
32 | c transport zonal: |
---|
33 | c ---------------- |
---|
34 | DO l=1,llm |
---|
35 | DO ij=2,ip1jmp1 |
---|
36 | us(ij,l)=.5*(pbaru(ij,l)+pbaru(ij-1,l)) |
---|
37 | ENDDO |
---|
38 | ENDDO |
---|
39 | CALL SCOPY(jjp1*llm,us(iip1,1),iip1,us(1,1),iip1) |
---|
40 | |
---|
41 | |
---|
42 | c Transport meridien: |
---|
43 | c ------------------- |
---|
44 | DO l=1,llm |
---|
45 | DO ij=iip2,ip1jm |
---|
46 | vs(ij,l)=.5*(pbarv(ij,l)+pbarv(ij-iip1,l)) |
---|
47 | ENDDO |
---|
48 | DO ij=1,iip1 |
---|
49 | vs(ij,l)=0. |
---|
50 | vs(ip1jm+ij,l)=0. |
---|
51 | ENDDO |
---|
52 | ENDDO |
---|
53 | |
---|
54 | RETURN |
---|
55 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.