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

Annotation of /trunk/phylmd/clesphys2.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 326 - (hide annotations)
Mon Jun 10 00:29:10 2019 UTC (4 years, 11 months ago) by guez
Original Path: trunk/phylmd/clesphys2.f
File size: 1292 byte(s)
GNUmakefile does not depend on `settings.mk`.

Rename argument precip1 of `cv_driver` to rain, matching the name of the
corresponding actual argument in concvl.

Add Netcdf variable pmflxr to history file, following LMDZ.

In procedure phyetat0, no need for intermediary variable fractint.

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

  ViewVC Help
Powered by ViewVC 1.1.21