|
Last change
on this file since 2027 was
1422,
checked in by milmd, 11 years ago
|
|
In GENERIC, MARS and COMMON models replace some include files by modules (usefull for decoupling physics with dynamics).
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | SUBROUTINE massbarxy( masse, massebxy ) |
|---|
| 2 | c |
|---|
| 3 | c ********************************************************************** |
|---|
| 4 | c |
|---|
| 5 | c Calcule les moyennes en x et y de la masse d'air dans chaque maille. |
|---|
| 6 | c ********************************************************************** |
|---|
| 7 | c Auteurs : P. Le Van , Fr. Hourdin . |
|---|
| 8 | c .......... |
|---|
| 9 | c |
|---|
| 10 | c .. masse est un argum. d'entree pour le s-pg ... |
|---|
| 11 | c .. massebxy est un argum. de sortie pour le s-pg ... |
|---|
| 12 | c |
|---|
| 13 | c |
|---|
| 14 | c IMPLICIT NONE |
|---|
| 15 | c |
|---|
| 16 | #include "dimensions.h" |
|---|
| 17 | #include "paramet.h" |
|---|
| 18 | #include "comgeom.h" |
|---|
| 19 | c |
|---|
| 20 | REAL masse( ip1jmp1,llm ), massebxy( ip1jm,llm ) |
|---|
| 21 | c |
|---|
| 22 | |
|---|
| 23 | DO l = 1 , llm |
|---|
| 24 | c |
|---|
| 25 | DO ij = 1, ip1jm - 1 |
|---|
| 26 | massebxy( ij,l ) = masse( ij ,l ) * alpha2( ij ) + |
|---|
| 27 | + masse( ij+1 ,l ) * alpha3( ij+1 ) + |
|---|
| 28 | + masse( ij+iip1,l ) * alpha1( ij+iip1 ) + |
|---|
| 29 | + masse( ij+iip2,l ) * alpha4( ij+iip2 ) |
|---|
| 30 | ENDDO |
|---|
| 31 | |
|---|
| 32 | c .... correction pour massebxy( iip1,j ) ........ |
|---|
| 33 | |
|---|
| 34 | CDIR$ IVDEP |
|---|
| 35 | |
|---|
| 36 | DO ij = iip1, ip1jm, iip1 |
|---|
| 37 | massebxy( ij,l ) = massebxy( ij - iim,l ) |
|---|
| 38 | ENDDO |
|---|
| 39 | |
|---|
| 40 | ENDDO |
|---|
| 41 | c |
|---|
| 42 | RETURN |
|---|
| 43 | END |
|---|
Note: See
TracBrowser
for help on using the repository browser.