source: LMDZ6/trunk/libf/phylmd/ecrad/srtm_setcoef.intfb.h @ 4163

Last change on this file since 4163 was 3908, checked in by idelkadi, 4 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.9 KB
Line 
1INTERFACE
2SUBROUTINE SRTM_SETCOEF&
3 & ( KIDIA , KFDIA , KLEV ,&
4 & PAVEL , PTAVEL ,&
5 & PCOLDRY , PWKL ,&
6 & KLAYTROP,&
7 & PCOLCH4 , PCOLCO2 , PCOLH2O , PCOLMOL , PCOLO2 , PCOLO3 ,&
8 & PFORFAC , PFORFRAC , KINDFOR , PSELFFAC, PSELFFRAC, KINDSELF ,&
9 & PFAC00 , PFAC01 , PFAC10 , PFAC11 ,&
10 & KJP , KJT , KJT1 , PRMU0&
11 & ) 
12USE PARKIND1 , ONLY : JPIM, JPRB
13INTEGER(KIND=JPIM),INTENT(IN) :: KIDIA, KFDIA
14INTEGER(KIND=JPIM),INTENT(IN) :: KLEV
15REAL(KIND=JPRB) ,INTENT(IN) :: PAVEL(KIDIA:KFDIA,KLEV)
16REAL(KIND=JPRB) ,INTENT(IN) :: PTAVEL(KIDIA:KFDIA,KLEV)
17REAL(KIND=JPRB) ,INTENT(IN) :: PCOLDRY(KIDIA:KFDIA,KLEV)
18REAL(KIND=JPRB) ,INTENT(IN) :: PWKL(KIDIA:KFDIA,35,KLEV)
19INTEGER(KIND=JPIM),INTENT(OUT) :: KLAYTROP(KIDIA:KFDIA)
20REAL(KIND=JPRB) ,INTENT(OUT) :: PCOLCH4(KIDIA:KFDIA,KLEV)
21REAL(KIND=JPRB) ,INTENT(OUT) :: PCOLCO2(KIDIA:KFDIA,KLEV)
22REAL(KIND=JPRB) ,INTENT(OUT) :: PCOLH2O(KIDIA:KFDIA,KLEV)
23REAL(KIND=JPRB) ,INTENT(OUT) :: PCOLMOL(KIDIA:KFDIA,KLEV)
24REAL(KIND=JPRB) ,INTENT(OUT) :: PCOLO2(KIDIA:KFDIA,KLEV)
25REAL(KIND=JPRB) ,INTENT(OUT) :: PCOLO3(KIDIA:KFDIA,KLEV)
26REAL(KIND=JPRB) ,INTENT(OUT) :: PFORFAC(KIDIA:KFDIA,KLEV)
27REAL(KIND=JPRB) ,INTENT(OUT) :: PFORFRAC(KIDIA:KFDIA,KLEV)
28INTEGER(KIND=JPIM),INTENT(OUT) :: KINDFOR(KIDIA:KFDIA,KLEV)
29REAL(KIND=JPRB) ,INTENT(OUT) :: PSELFFAC(KIDIA:KFDIA,KLEV)
30REAL(KIND=JPRB) ,INTENT(OUT) :: PSELFFRAC(KIDIA:KFDIA,KLEV)
31INTEGER(KIND=JPIM),INTENT(OUT) :: KINDSELF(KIDIA:KFDIA,KLEV)
32REAL(KIND=JPRB) ,INTENT(OUT) :: PFAC00(KIDIA:KFDIA,KLEV)
33REAL(KIND=JPRB) ,INTENT(OUT) :: PFAC01(KIDIA:KFDIA,KLEV)
34REAL(KIND=JPRB) ,INTENT(OUT) :: PFAC10(KIDIA:KFDIA,KLEV)
35REAL(KIND=JPRB) ,INTENT(OUT) :: PFAC11(KIDIA:KFDIA,KLEV)
36INTEGER(KIND=JPIM),INTENT(OUT) :: KJP(KIDIA:KFDIA,KLEV)
37INTEGER(KIND=JPIM),INTENT(OUT) :: KJT(KIDIA:KFDIA,KLEV)
38INTEGER(KIND=JPIM),INTENT(OUT) :: KJT1(KIDIA:KFDIA,KLEV)
39REAL(KIND=JPRB) ,INTENT(IN) :: PRMU0(KIDIA:KFDIA)
40END SUBROUTINE SRTM_SETCOEF
41END INTERFACE
Note: See TracBrowser for help on using the repository browser.