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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 182 - (hide annotations)
Wed Mar 16 11:11:27 2016 UTC (8 years, 1 month ago) by guez
File size: 1520 byte(s)
Replaced integer variable iflag_con of module clesphys2 by logical
variable conv_emanuel.

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

  ViewVC Help
Powered by ViewVC 1.1.21