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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 208 - (show annotations)
Wed Dec 7 16:44:53 2016 UTC (7 years, 4 months ago) by guez
File size: 1520 byte(s)
Module academic was not used.

Useful values for iflag_phys were only 0 and 1 so changed type to logical.

Definition of fmagic was duplicated in procedures alboc and alboc_cd
so moved it up to interfsurf_hq and also moved multiplication by
fmagic (following LMDZ).

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

  ViewVC Help
Powered by ViewVC 1.1.21