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 |
real:: epmax = 0.993 ! \'efficacit\'e de pr\'ecipitation |
11 |
integer:: iflag_clw = 0 |
integer:: iflag_clw = 0 |
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 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 |
|
|
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'." |