[3331] | 1 | !*************************************************************************** |
---|
| 2 | SUBROUTINE RRTM_CMBGB13 |
---|
| 3 | !*************************************************************************** |
---|
| 4 | |
---|
| 5 | ! BAND 13: 2080-2250 cm-1 (low - H2O,N2O; high - nothing) |
---|
| 6 | !*************************************************************************** |
---|
| 7 | |
---|
| 8 | ! Parameters |
---|
| 9 | USE PARKIND1 ,ONLY : JPIM ,JPRB |
---|
| 10 | USE YOMHOOK ,ONLY : LHOOK, DR_HOOK |
---|
| 11 | |
---|
| 12 | USE YOERRTO13, ONLY : KAO ,SELFREFO ,FRACREFAO |
---|
| 13 | USE YOERRTA13, ONLY : KA ,SELFREF ,FRACREFA |
---|
| 14 | USE YOERRTRWT, ONLY : FREFA ,FREFADF ,RWGT |
---|
| 15 | USE YOERRTFTR, ONLY : NGC ,NGS ,NGN |
---|
| 16 | |
---|
| 17 | IMPLICIT NONE |
---|
| 18 | |
---|
| 19 | INTEGER(KIND=JPIM) :: IGC, IPR, IPRSM, JN, JP, JT |
---|
| 20 | |
---|
| 21 | REAL(KIND=JPRB) :: Z_SUMF, Z_SUMK |
---|
| 22 | REAL(KIND=JPRB) :: ZHOOK_HANDLE |
---|
| 23 | |
---|
| 24 | IF (LHOOK) CALL DR_HOOK('RRTM_CMBGB13',0,ZHOOK_HANDLE) |
---|
| 25 | DO JN = 1,9 |
---|
| 26 | DO JT = 1,5 |
---|
| 27 | DO JP = 1,13 |
---|
| 28 | IPRSM = 0 |
---|
| 29 | DO IGC = 1,NGC(13) |
---|
| 30 | Z_SUMK = 0.0_JPRB |
---|
| 31 | DO IPR = 1, NGN(NGS(12)+IGC) |
---|
| 32 | IPRSM = IPRSM + 1 |
---|
| 33 | |
---|
| 34 | Z_SUMK = Z_SUMK + KAO(JN,JT,JP,IPRSM)*RWGT(IPRSM+192) |
---|
| 35 | ENDDO |
---|
| 36 | |
---|
| 37 | KA(JN,JT,JP,IGC) = Z_SUMK |
---|
| 38 | ENDDO |
---|
| 39 | ENDDO |
---|
| 40 | ENDDO |
---|
| 41 | ENDDO |
---|
| 42 | |
---|
| 43 | DO JT = 1,10 |
---|
| 44 | IPRSM = 0 |
---|
| 45 | DO IGC = 1,NGC(13) |
---|
| 46 | Z_SUMK = 0.0_JPRB |
---|
| 47 | DO IPR = 1, NGN(NGS(12)+IGC) |
---|
| 48 | IPRSM = IPRSM + 1 |
---|
| 49 | |
---|
| 50 | Z_SUMK = Z_SUMK + SELFREFO(JT,IPRSM)*RWGT(IPRSM+192) |
---|
| 51 | ENDDO |
---|
| 52 | |
---|
| 53 | SELFREF(JT,IGC) = Z_SUMK |
---|
| 54 | ENDDO |
---|
| 55 | ENDDO |
---|
| 56 | |
---|
| 57 | DO JP = 1,9 |
---|
| 58 | IPRSM = 0 |
---|
| 59 | DO IGC = 1,NGC(13) |
---|
| 60 | Z_SUMF = 0.0_JPRB |
---|
| 61 | DO IPR = 1, NGN(NGS(12)+IGC) |
---|
| 62 | IPRSM = IPRSM + 1 |
---|
| 63 | |
---|
| 64 | Z_SUMF = Z_SUMF + FRACREFAO(IPRSM,JP) |
---|
| 65 | ENDDO |
---|
| 66 | |
---|
| 67 | FRACREFA(IGC,JP) = Z_SUMF |
---|
| 68 | ENDDO |
---|
| 69 | ENDDO |
---|
| 70 | |
---|
| 71 | DO JP = 1,9 |
---|
| 72 | DO IGC = 1,NGC(13) |
---|
| 73 | |
---|
| 74 | FREFA(NGS(12)+IGC,JP) = FRACREFA(IGC,JP) |
---|
| 75 | ENDDO |
---|
| 76 | ENDDO |
---|
| 77 | DO JP = 1,8 |
---|
| 78 | DO IGC = 1,NGC(13) |
---|
| 79 | |
---|
| 80 | FREFADF(NGS(12)+IGC,JP) = FRACREFA(IGC,JP+1) -FRACREFA(IGC,JP) |
---|
| 81 | ENDDO |
---|
| 82 | ENDDO |
---|
| 83 | |
---|
| 84 | IF (LHOOK) CALL DR_HOOK('RRTM_CMBGB13',1,ZHOOK_HANDLE) |
---|
| 85 | END SUBROUTINE RRTM_CMBGB13 |
---|