[1989] | 1 | !*************************************************************************** |
---|
| 2 | SUBROUTINE RRTM_CMBGB15 |
---|
| 3 | !*************************************************************************** |
---|
| 4 | |
---|
| 5 | ! BAND 15: 2380-2600 cm-1 (low - N2O,CO2; high - nothing) |
---|
| 6 | !*************************************************************************** |
---|
| 7 | |
---|
| 8 | ! Parameters |
---|
| 9 | USE PARKIND1 ,ONLY : JPIM ,JPRB |
---|
| 10 | USE YOMHOOK ,ONLY : LHOOK, DR_HOOK |
---|
| 11 | |
---|
| 12 | USE YOERRTO15, ONLY : KAO ,SELFREFO ,FRACREFAO |
---|
| 13 | USE YOERRTA15, 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_CMBGB15',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(15) |
---|
| 30 | Z_SUMK = 0.0_JPRB |
---|
| 31 | DO IPR = 1, NGN(NGS(14)+IGC) |
---|
| 32 | IPRSM = IPRSM + 1 |
---|
| 33 | |
---|
| 34 | Z_SUMK = Z_SUMK + KAO(JN,JT,JP,IPRSM)*RWGT(IPRSM+224) |
---|
| 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(15) |
---|
| 46 | Z_SUMK = 0.0_JPRB |
---|
| 47 | DO IPR = 1, NGN(NGS(14)+IGC) |
---|
| 48 | IPRSM = IPRSM + 1 |
---|
| 49 | |
---|
| 50 | Z_SUMK = Z_SUMK + SELFREFO(JT,IPRSM)*RWGT(IPRSM+224) |
---|
| 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(15) |
---|
| 60 | Z_SUMF = 0.0_JPRB |
---|
| 61 | DO IPR = 1, NGN(NGS(14)+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(15) |
---|
| 73 | |
---|
| 74 | FREFA(NGS(14)+IGC,JP) = FRACREFA(IGC,JP) |
---|
| 75 | ENDDO |
---|
| 76 | ENDDO |
---|
| 77 | DO JP = 1,8 |
---|
| 78 | DO IGC = 1,NGC(15) |
---|
| 79 | |
---|
| 80 | FREFADF(NGS(14)+IGC,JP) = FRACREFA(IGC,JP+1) -FRACREFA(IGC,JP) |
---|
| 81 | ENDDO |
---|
| 82 | ENDDO |
---|
| 83 | |
---|
| 84 | IF (LHOOK) CALL DR_HOOK('RRTM_CMBGB15',1,ZHOOK_HANDLE) |
---|
| 85 | END SUBROUTINE RRTM_CMBGB15 |
---|