Last change
on this file since 3398 was
2089,
checked in by Laurent Fairhead, 10 years ago
|
Inclusion de la physique de MAR
Integration of MAR physics
|
File size:
822 bytes
|
Rev | Line | |
---|
[2089] | 1 | SUBROUTINE SURRTAB |
---|
| 2 | |
---|
| 3 | ! ----------------------------------------------------------------- |
---|
| 4 | ! * E.C.M.W.F. PHYSICS PACKAGE ** AER'S RRTM LW RADIATION ** |
---|
| 5 | |
---|
| 6 | ! J.-J. MORCRETTE E.C.M.W.F. 98/07/14 |
---|
| 7 | |
---|
| 8 | ! ----------------------------------------------------------------- |
---|
| 9 | |
---|
| 10 | #include "tsmbkind.h" |
---|
| 11 | |
---|
| 12 | USE YOERRTAB , ONLY : TRANS, BPADE |
---|
| 13 | |
---|
| 14 | IMPLICIT NONE |
---|
| 15 | |
---|
| 16 | ! LOCAL INTEGER SCALARS |
---|
| 17 | INTEGER_M :: ITR |
---|
| 18 | |
---|
| 19 | ! LOCAL REAL SCALARS |
---|
| 20 | REAL_B :: ZTAU, ZTFN |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | BPADE=_ONE_/0.278_JPRB |
---|
| 24 | TRANS(0) =_ONE_ |
---|
| 25 | TRANS(5000)=_ZERO_ |
---|
| 26 | DO ITR=1,4970 |
---|
| 27 | ZTFN=REAL(ITR)/5000._JPRB |
---|
| 28 | ZTAU=BPADE*ZTFN/(_ONE_-ZTFN) |
---|
| 29 | TRANS(ITR)=EXP(-ZTAU) |
---|
| 30 | ! write(6,*) ITR,TRANS(ITR) |
---|
| 31 | ENDDO |
---|
| 32 | DO ITR=4971,4999 |
---|
| 33 | TRANS(ITR)=_ZERO_ |
---|
| 34 | ! write(6,*) ITR,TRANS(ITR) |
---|
| 35 | ENDDO |
---|
| 36 | |
---|
| 37 | ! ----------------------------------------------------------------- |
---|
| 38 | |
---|
| 39 | RETURN |
---|
| 40 | END SUBROUTINE SURRTAB |
---|
Note: See
TracBrowser
for help on using the repository browser.