4 |
|
|
5 |
implicit none |
implicit none |
6 |
|
|
|
LOGICAL:: cycle_diurne = .TRUE. |
|
|
! Cette option permet d'\'eteindre le cycle diurne. Peut \^etre utile |
|
|
! pour acc\'el\'erer le code. |
|
|
|
|
7 |
LOGICAL:: soil_model = .TRUE. |
LOGICAL:: soil_model = .TRUE. |
8 |
! Choix du modele de sol (Thermique ?) |
! Choix du modele de sol (Thermique ?) |
9 |
|
|
31 |
use nr_util, only: assert |
use nr_util, only: assert |
32 |
use conf_gcm_m, only: day_step, iphysiq |
use conf_gcm_m, only: day_step, iphysiq |
33 |
|
|
34 |
namelist /clesphys2_nml/cycle_diurne, soil_model, new_oliq, ok_orodr, & |
namelist /clesphys2_nml/soil_model, new_oliq, ok_orodr, ok_orolf, & |
35 |
ok_orolf, ok_limitvrai, nbapp_rad, conv_emanuel |
ok_limitvrai, nbapp_rad, conv_emanuel |
36 |
|
|
37 |
!------------------------------------ |
!------------------------------------ |
38 |
|
|
41 |
write(unit_nml, nml=clesphys2_nml) |
write(unit_nml, nml=clesphys2_nml) |
42 |
call assert(mod(day_step / iphysiq, nbapp_rad) == 0, & |
call assert(mod(day_step / iphysiq, nbapp_rad) == 0, & |
43 |
"read_clesphys2 nbapp_rad") |
"read_clesphys2 nbapp_rad") |
44 |
call assert(nbapp_rad >= 4 .or. .not. cycle_diurne, & |
call assert(nbapp_rad >= 4, & |
45 |
"read_clesphys2: minimum 4 calls to radiative transfer per day if " & |
"read_clesphys2: minimum 4 calls to radiative transfer per day") |
|
// "cycle_diurne") |
|
46 |
|
|
47 |
end subroutine read_clesphys2 |
end subroutine read_clesphys2 |
48 |
|
|