Last change
on this file since 2916 was
2175,
checked in by jescribano, 10 years ago
|
SPLA code included for first time
|
File size:
485 bytes
|
Rev | Line | |
---|
[2175] | 1 | SUBROUTINE kg_to_cm3(pplay,t_seri,tr_seri) |
---|
| 2 | c |
---|
| 3 | USE dimphy |
---|
| 4 | USE infotrac |
---|
| 5 | IMPLICIT NONE |
---|
| 6 | c |
---|
| 7 | #include "dimensions.h" |
---|
| 8 | #include "../phylmd/YOMCST.h" |
---|
| 9 | c #include "../phylmd/dimphy.h" |
---|
| 10 | c |
---|
| 11 | REAL t_seri(klon,klev), pplay(klon,klev) |
---|
| 12 | REAL tr_seri(klon,klev) |
---|
| 13 | REAL zrho |
---|
| 14 | INTEGER i, k |
---|
| 15 | c |
---|
| 16 | DO k = 1, klev |
---|
| 17 | DO i = 1, klon |
---|
| 18 | zrho=pplay(i,k)/t_seri(i,k)/RD |
---|
| 19 | tr_seri(i,k)=tr_seri(i,k)/1.e6*zrho |
---|
| 20 | ENDDO |
---|
| 21 | ENDDO |
---|
| 22 | c |
---|
| 23 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.