5 |
implicit none |
implicit none |
6 |
|
|
7 |
LOGICAL:: cycle_diurne = .TRUE. |
LOGICAL:: cycle_diurne = .TRUE. |
8 |
! Cette option permet d'éteindre le cycle diurne. |
! Cette option permet d'éteindre le cycle diurne. Peut être utile |
9 |
! Peut être utile pour accélérer le code. |
! pour accélérer le code. |
10 |
|
|
11 |
LOGICAL:: soil_model = .TRUE. |
LOGICAL:: soil_model = .TRUE. |
12 |
! Choix du modele de sol (Thermique ?) |
! Choix du modele de sol (Thermique ?) |
36 |
subroutine read_clesphys2 |
subroutine read_clesphys2 |
37 |
|
|
38 |
use unit_nml_m, only: unit_nml |
use unit_nml_m, only: unit_nml |
39 |
|
use nr_util, only: assert |
40 |
|
|
41 |
namelist /clesphys2_nml/cycle_diurne, soil_model, new_oliq, & |
namelist /clesphys2_nml/cycle_diurne, soil_model, new_oliq, ok_orodr, & |
42 |
ok_orodr, ok_orolf, ok_limitvrai, nbapp_rad, iflag_con |
ok_orolf, ok_limitvrai, nbapp_rad, iflag_con |
43 |
|
|
44 |
!------------------------------------ |
!------------------------------------ |
45 |
|
|
46 |
print *, "Enter namelist 'clesphys2_nml'." |
print *, "Enter namelist 'clesphys2_nml'." |
47 |
read(unit=*, nml=clesphys2_nml) |
read(unit=*, nml=clesphys2_nml) |
48 |
write(unit_nml, nml=clesphys2_nml) |
write(unit_nml, nml=clesphys2_nml) |
49 |
|
call assert(iflag_con >= 2 .and. iflag_con <= 4, "read_clesphys2 iflag_con") |
|
if (iflag_con <= 1) then |
|
|
print *, "bad value for iflag_con" |
|
|
stop 1 |
|
|
end if |
|
50 |
|
|
51 |
end subroutine read_clesphys2 |
end subroutine read_clesphys2 |
52 |
|
|