source: LMDZ6/trunk/libf/phylmd/ecrad/rrtm_prepare_gases.intfb.h @ 4388

Last change on this file since 4388 was 3908, checked in by idelkadi, 3 years ago

Online implementation of the radiative transfer code ECRAD in the LMDZ model.

  • Inclusion of the ecrad directory containing the sources of the ECRAD code
    • interface routine : radiation_scheme.F90
  • Adaptation of compilation scripts :
    • compilation under CPP key CPP_ECRAD
    • compilation with option "-rad ecard" or "-ecard true"
    • The "-rad old/rtm/ecran" build option will need to replace the "-rrtm true" and "-ecrad true" options in the future.
  • Runing LMDZ simulations with ecrad, you need :
    • logical key iflag_rrtm = 2 in physiq.def
    • namelist_ecrad (DefLists?)
    • the directory "data" containing the configuration files is temporarily placed in ../libfphylmd/ecrad/
  • Compilation and execution are tested in the 1D case. The repository under svn would allow to continue the implementation work: tests, verification of the results, ...
File size: 1.6 KB
Line 
1INTERFACE
2SUBROUTINE RRTM_PREPARE_GASES&
3 & ( KIDIA, KFDIA, KLON, KLEV,&
4 & PAPH , PAP ,&
5 & PTH , PT ,&
6 & PQ , PCO2 , PCH4, PN2O , PNO2, PC11, PC12, PC22, PCL4, POZN,&
7 & PCOLDRY, PWBRODL, PWKL, PWX ,&
8 & PAVEL , PTAVEL , PZ , PTZ , KREFLECT) 
9USE PARKIND1 , ONLY : JPIM, JPRB
10USE PARRRTM , ONLY : JPBAND, JPXSEC, JPINPX
11INTEGER(KIND=JPIM),INTENT(IN) :: KLON
12INTEGER(KIND=JPIM),INTENT(IN) :: KLEV
13INTEGER(KIND=JPIM),INTENT(IN) :: KIDIA, KFDIA
14REAL(KIND=JPRB) ,INTENT(IN) :: PAPH(KLON,KLEV+1)
15REAL(KIND=JPRB) ,INTENT(IN) :: PAP(KLON,KLEV)
16REAL(KIND=JPRB) ,INTENT(IN) :: PTH(KLON,KLEV+1)
17REAL(KIND=JPRB) ,INTENT(IN) :: PT(KLON,KLEV)
18REAL(KIND=JPRB) ,INTENT(IN) :: PQ(KLON,KLEV)
19REAL(KIND=JPRB) ,INTENT(IN) :: PCO2(KLON,KLEV)
20REAL(KIND=JPRB) ,INTENT(IN) :: PCH4(KLON,KLEV)
21REAL(KIND=JPRB) ,INTENT(IN) :: PN2O(KLON,KLEV)
22REAL(KIND=JPRB) ,INTENT(IN) :: PNO2(KLON,KLEV)
23REAL(KIND=JPRB) ,INTENT(IN) :: PC11(KLON,KLEV)
24REAL(KIND=JPRB) ,INTENT(IN) :: PC12(KLON,KLEV)
25REAL(KIND=JPRB) ,INTENT(IN) :: PC22(KLON,KLEV)
26REAL(KIND=JPRB) ,INTENT(IN) :: PCL4(KLON,KLEV)
27REAL(KIND=JPRB) ,INTENT(IN) :: POZN(KLON,KLEV)
28REAL(KIND=JPRB) ,INTENT(OUT) :: PCOLDRY(KIDIA:KFDIA,KLEV)
29REAL(KIND=JPRB) ,INTENT(OUT) :: PWBRODL(KIDIA:KFDIA,KLEV)
30REAL(KIND=JPRB) ,INTENT(OUT) :: PWKL(KIDIA:KFDIA,JPINPX,KLEV)
31REAL(KIND=JPRB) ,INTENT(OUT) :: PWX(KIDIA:KFDIA,JPXSEC,KLEV)
32REAL(KIND=JPRB) ,INTENT(OUT) :: PAVEL(KIDIA:KFDIA,KLEV)
33REAL(KIND=JPRB) ,INTENT(OUT) :: PTAVEL(KIDIA:KFDIA,KLEV)
34REAL(KIND=JPRB) ,INTENT(OUT) :: PZ(KIDIA:KFDIA,0:KLEV)
35REAL(KIND=JPRB) ,INTENT(OUT) :: PTZ(KIDIA:KFDIA,0:KLEV)
36INTEGER(KIND=JPIM),INTENT(OUT) :: KREFLECT(KIDIA:KFDIA)
37END SUBROUTINE RRTM_PREPARE_GASES
38END INTERFACE
Note: See TracBrowser for help on using the repository browser.