1 |
module conf_phys_m |
2 |
|
3 |
implicit none |
4 |
|
5 |
integer:: iflag_pbl = 1 ! for the planetary boundary layer |
6 |
REAL:: rad_chau1 = 13., rad_chau2 = 9. |
7 |
real:: epmax = 0.993 ! \'efficacit\'e de pr\'ecipitation |
8 |
integer:: iflag_clw = 0 |
9 |
|
10 |
contains |
11 |
|
12 |
subroutine conf_phys |
13 |
|
14 |
! From phylmd/conf_phys.F90, version 1.7 2005/07/05 07:21:23 |
15 |
|
16 |
! Configuration de la "physique" de LMDZ. |
17 |
|
18 |
USE clesphys, ONLY: read_clesphys |
19 |
use clesphys2, only: read_clesphys2 |
20 |
USE comfisrtilp, ONLY: cld_lc_con, cld_lc_lsc, cld_tau_con, & |
21 |
cld_tau_lsc, coef_eva, ffallv_con, ffallv_lsc, iflag_pdf, reevap_ice |
22 |
use unit_nml_m, only: unit_nml |
23 |
USE yomcst, ONLY: read_YOMCST |
24 |
|
25 |
namelist /conf_phys_nml/ epmax, iflag_clw, cld_lc_lsc, cld_lc_con, & |
26 |
cld_tau_lsc, cld_tau_con, ffallv_lsc, ffallv_con, coef_eva, & |
27 |
reevap_ice, iflag_pdf, iflag_pbl |
28 |
|
29 |
namelist /nuagecom/ rad_chau1, rad_chau2 |
30 |
|
31 |
!----------------------------------------------------------- |
32 |
|
33 |
print *, "Call sequence information: conf_phys" |
34 |
call read_clesphys2 |
35 |
call read_YOMCST |
36 |
|
37 |
cld_lc_lsc = 2.6e-4 |
38 |
cld_lc_con = 2.6e-4 |
39 |
cld_tau_lsc = 3600. |
40 |
cld_tau_con = 3600. |
41 |
ffallv_lsc = 1. |
42 |
ffallv_con = 1. |
43 |
coef_eva = 2.e-5 |
44 |
reevap_ice = .false. |
45 |
iflag_pdf = 0 |
46 |
|
47 |
print *, "Enter namelist 'conf_phys_nml'." |
48 |
read(unit=*, nml=conf_phys_nml) |
49 |
write(unit_nml, nml=conf_phys_nml) |
50 |
|
51 |
call read_clesphys |
52 |
|
53 |
print *, "Enter namelist 'nuagecom'." |
54 |
read(unit=*, nml=nuagecom) |
55 |
write(unit_nml, nml=nuagecom) |
56 |
|
57 |
end subroutine conf_phys |
58 |
|
59 |
end module conf_phys_m |