/[lmdze]/trunk/phylmd/clesphys2.f90
ViewVC logotype

Annotation of /trunk/phylmd/clesphys2.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 340 - (hide annotations)
Thu Sep 26 17:29:50 2019 UTC (4 years, 8 months ago) by guez
File size: 1165 byte(s)
Remove `new_oliq` and `ok_stratus`

Remove possibility to choose `new_oliq` false. LMDZ is always used with
`new_oliq` true.

Remove possibility to choose `ok_stratus` true. LMDZ is always used
with `ok_stratus` false.

Encapsulate dqthermcell in a module.

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 69 ! Pour l'orographie:
8 guez 326 LOGICAL, protected:: ok_orodr = .TRUE.
9     LOGICAL, protected:: ok_orolf = .TRUE.
10 guez 12
11 guez 326 LOGICAL, protected:: ok_limitvrai = .FALSE.
12 guez 51 ! On peut forcer le modele a lire le fichier SST de la bonne
13 guez 69 ! annee.
14 guez 12
15 guez 326 INTEGER, protected:: nbapp_rad = 12
16 guez 69 ! nombre d'appels des routines de rayonnements par jour
17 guez 12
18 guez 326 logical, protected:: conv_emanuel = .true.
19     ! convection scheme of Emanuel, else Tiedtke
20 guez 12
21 guez 13 contains
22    
23     subroutine read_clesphys2
24    
25 guez 57 use unit_nml_m, only: unit_nml
26 guez 99 use nr_util, only: assert
27 guez 154 use conf_gcm_m, only: day_step, iphysiq
28 guez 57
29 guez 340 namelist /clesphys2_nml/ok_orodr, ok_orolf, ok_limitvrai, nbapp_rad, &
30     conv_emanuel
31 guez 13
32     !------------------------------------
33    
34     print *, "Enter namelist 'clesphys2_nml'."
35     read(unit=*, nml=clesphys2_nml)
36 guez 57 write(unit_nml, nml=clesphys2_nml)
37 guez 154 call assert(mod(day_step / iphysiq, nbapp_rad) == 0, &
38     "read_clesphys2 nbapp_rad")
39 guez 209 call assert(nbapp_rad >= 4, &
40     "read_clesphys2: minimum 4 calls to radiative transfer per day")
41 guez 13
42     end subroutine read_clesphys2
43    
44 guez 12 end module clesphys2

  ViewVC Help
Powered by ViewVC 1.1.21