/[lmdze]/trunk/phylmd/conf_phys.f
ViewVC logotype

Diff of /trunk/phylmd/conf_phys.f

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/Sources/phylmd/conf_phys.f revision 191 by guez, Mon May 9 19:56:28 2016 UTC trunk/phylmd/conf_phys.f revision 254 by guez, Mon Feb 5 10:39:38 2018 UTC
# Line 2  module conf_phys_m Line 2  module conf_phys_m
2    
3    implicit none    implicit none
4    
5    integer:: iflag_pbl = 1 ! for the planetary boundary layer    integer, protected:: iflag_pbl = 1 ! for the planetary boundary layer
6      ! 6 : Mellor and Yamada 2.0
7      ! 8 : Mellor and Yamada 2.5
8    
9    REAL:: rad_chau1 = 13., rad_chau2 = 9.    REAL:: rad_chau1 = 13., rad_chau2 = 9.
10      real:: epmax = 0.993 ! \'efficacit\'e de pr\'ecipitation
11      integer:: iflag_clw = 0
12    
13  contains  contains
14    
# Line 17  contains Line 22  contains
22      use clesphys2, only: read_clesphys2      use clesphys2, only: read_clesphys2
23      USE comfisrtilp, ONLY: cld_lc_con, cld_lc_lsc, cld_tau_con, &      USE comfisrtilp, ONLY: cld_lc_con, cld_lc_lsc, cld_tau_con, &
24           cld_tau_lsc, coef_eva, ffallv_con, ffallv_lsc, iflag_pdf, reevap_ice           cld_tau_lsc, coef_eva, ffallv_con, ffallv_lsc, iflag_pdf, reevap_ice
25      USE conema3_m, ONLY: epmax, iflag_clw, ok_adj_ema      use nr_util, only: assert
26      use unit_nml_m, only: unit_nml      use unit_nml_m, only: unit_nml
27      USE yomcst, ONLY: read_YOMCST      USE yomcst, ONLY: read_YOMCST
28    
29      namelist /conf_phys_nml/ epmax, ok_adj_ema, iflag_clw, cld_lc_lsc, &      namelist /conf_phys_nml/ epmax, iflag_clw, cld_lc_lsc, cld_lc_con, &
30           cld_lc_con, cld_tau_lsc, cld_tau_con, ffallv_lsc, ffallv_con, &           cld_tau_lsc, cld_tau_con, ffallv_lsc, ffallv_con, coef_eva, &
31           coef_eva, reevap_ice, iflag_pdf, iflag_pbl           reevap_ice, iflag_pdf, iflag_pbl
32    
33      namelist /nuagecom/ rad_chau1, rad_chau2      namelist /nuagecom/ rad_chau1, rad_chau2
34    
# Line 33  contains Line 38  contains
38      call read_clesphys2      call read_clesphys2
39      call read_YOMCST      call read_YOMCST
40    
     epmax = .993  
     ok_adj_ema = .false.  
     iflag_clw = 0  
41      cld_lc_lsc = 2.6e-4      cld_lc_lsc = 2.6e-4
42      cld_lc_con = 2.6e-4      cld_lc_con = 2.6e-4
43      cld_tau_lsc = 3600.      cld_tau_lsc = 3600.
# Line 50  contains Line 52  contains
52      read(unit=*, nml=conf_phys_nml)      read(unit=*, nml=conf_phys_nml)
53      write(unit_nml, nml=conf_phys_nml)      write(unit_nml, nml=conf_phys_nml)
54    
55        call assert(any(iflag_pbl == [0, 1, 6, 8, 9]), &
56             "conf_phys: bad value for iflag_pbl")
57      call read_clesphys      call read_clesphys
58    
59      print *, "Enter namelist 'nuagecom'."      print *, "Enter namelist 'nuagecom'."

Legend:
Removed from v.191  
changed lines
  Added in v.254

  ViewVC Help
Powered by ViewVC 1.1.21