source: LMDZ6/branches/Ocean_skin/libf/phylmd/ecrad/yomdimv.F90 @ 4013

Last change on this file since 4013 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.1 KB
Line 
1MODULE YOMDIMV
2
3USE PARKIND1  ,ONLY : JPIM
4
5IMPLICIT NONE
6
7SAVE
8
9!     ------------------------------------------------------------------
10
11TYPE :: TDIMV
12
13!*    Dimensions of model working arrays
14
15! === VERTICAL RESOLUTION =====================================================
16
17! NFLEVG : number of levels in grid point space
18! NFLEVL : number of levels in Fourier and Legendre space
19! NFLEVLMX : maximum NFLEVL among all PEs
20! NFLSUR : over dimensioning of NFLEVL for technical reasons, always odd
21! NFLSUL : number of additional levels for semi-lagrangian
22! NFLSA  = 1    -NFLSUL
23! NFLEN  = NFLEVG+NFLSUL
24! NIOLEVG : number of levels in the whole atmosphere (used for I/Os and definitions) ;
25!           NFLEVG can be a truncation of NIOLEVG
26
27INTEGER(KIND=JPIM) :: NFLEVG
28INTEGER(KIND=JPIM) :: NFLEVL
29INTEGER(KIND=JPIM) :: NFLEVLMX
30INTEGER(KIND=JPIM) :: NFLSUR
31INTEGER(KIND=JPIM) :: NFLSUL
32INTEGER(KIND=JPIM) :: NFLSA
33INTEGER(KIND=JPIM) :: NFLEN
34INTEGER(KIND=JPIM) :: NFLEVSF
35INTEGER(KIND=JPIM) :: NIOLEVG
36
37END TYPE TDIMV
38
39TYPE(TDIMV), POINTER :: YRDIMV => NULL()
40
41!     ------------------------------------------------------------------
42
43END MODULE YOMDIMV
Note: See TracBrowser for help on using the repository browser.