Last change
on this file since 5212 was
4593,
checked in by yann meurdesoif, 17 months ago
|
Replace #include (c preprocessor) by INCLUDE (fortran keyword)
in phylmd (except rrtm and ecrad) filtrez, dy3dmem and dyn3dcommon
Other directories will follow
YM
|
File size:
542 bytes
|
Rev | Line | |
---|
[2630] | 1 | SUBROUTINE cm3_to_kg(pplay,t_seri,tr_seri) |
---|
| 2 | |
---|
| 3 | USE dimphy |
---|
| 4 | USE infotrac |
---|
| 5 | USE indice_sol_mod |
---|
| 6 | |
---|
| 7 | IMPLICIT NONE |
---|
| 8 | c |
---|
[4593] | 9 | INCLUDE "dimensions.h" |
---|
| 10 | INCLUDE "YOMCST.h" |
---|
[2630] | 11 | c |
---|
| 12 | REAL t_seri(klon,klev), pplay(klon,klev) |
---|
| 13 | REAL tr_seri(klon,klev) |
---|
| 14 | REAL zrho |
---|
| 15 | INTEGER i, k |
---|
| 16 | c |
---|
| 17 | !JE20150707 RD = 1000.0 * 1.380658E-23 * 6.0221367E+23 / 28.9644 |
---|
| 18 | DO k = 1, klev |
---|
| 19 | DO i = 1, klon |
---|
| 20 | zrho=pplay(i,k)/t_seri(i,k)/RD |
---|
| 21 | tr_seri(i,k)=tr_seri(i,k)*1.e6/zrho |
---|
| 22 | ENDDO |
---|
| 23 | ENDDO |
---|
| 24 | c |
---|
| 25 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.