/[lmdze]/trunk/Sources/phylmd/clesphys2.f
ViewVC logotype

Contents of /trunk/Sources/phylmd/clesphys2.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 222 - (show annotations)
Tue Apr 25 15:31:48 2017 UTC (6 years, 11 months ago) by guez
File size: 1310 byte(s)
In interfsurf_hq, changed names of variables : tsurf becomes ts (name of
actual argument), tsurf_temp  can then become simply tsurf.

1 module clesphys2
2
3 ! From version 1.3 2005/06/06 13:16:33
4
5 implicit none
6
7 LOGICAL:: soil_model = .TRUE. ! choix du mod\`ele de sol (thermique ?)
8
9 LOGICAL:: new_oliq = .TRUE.
10 ! Permet de mettre en route la nouvelle parametrisation de l'eau liquide
11
12 ! Pour l'orographie:
13 LOGICAL:: ok_orodr = .TRUE.
14 LOGICAL:: ok_orolf = .TRUE.
15
16 LOGICAL:: ok_limitvrai = .FALSE.
17 ! On peut forcer le modele a lire le fichier SST de la bonne
18 ! annee.
19
20 INTEGER:: nbapp_rad = 12
21 ! nombre d'appels des routines de rayonnements par jour
22
23 logical:: conv_emanuel = .true. ! convection scheme of Emanuel, else Tiedtke
24
25 contains
26
27 subroutine read_clesphys2
28
29 use unit_nml_m, only: unit_nml
30 use nr_util, only: assert
31 use conf_gcm_m, only: day_step, iphysiq
32
33 namelist /clesphys2_nml/soil_model, new_oliq, ok_orodr, ok_orolf, &
34 ok_limitvrai, nbapp_rad, conv_emanuel
35
36 !------------------------------------
37
38 print *, "Enter namelist 'clesphys2_nml'."
39 read(unit=*, nml=clesphys2_nml)
40 write(unit_nml, nml=clesphys2_nml)
41 call assert(mod(day_step / iphysiq, nbapp_rad) == 0, &
42 "read_clesphys2 nbapp_rad")
43 call assert(nbapp_rad >= 4, &
44 "read_clesphys2: minimum 4 calls to radiative transfer per day")
45
46 end subroutine read_clesphys2
47
48 end module clesphys2

  ViewVC Help
Powered by ViewVC 1.1.21