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

Contents of /trunk/phylmd/clesphys2.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 118 - (show annotations)
Thu Dec 18 17:30:24 2014 UTC (9 years, 4 months ago) by guez
File size: 1302 byte(s)
In file grilles_gcm.nc, renamed variable phis to orog, deleted
variable presnivs.

Removed variable bug_ozone from module clesphys.

In procedure ozonecm, moved computation of sint and cost out of the
loops on horizontal position and vertical level. Inverted the order of
the two loops. We can then move all computations from slat to aprim
out of the loop on vertical levels. Created variable slat2, following
LMDZ. Moved the limitation of column-density of ozone in cell at 1e-12
from radlwsw to ozonecm, following LMDZ.

Removed unused arguments u, albsol, rh, cldfra, rneb, diafra, cldliq,
pmflxr, pmflxs, prfl, psfl of phytrac.

In procedure yamada4, for all the arrays, replaced the dimension klon
by ngrid. At the end of the procedure, for the computation of kmn,kn,
kq and q2, changed the upper limit of the loop index from klon to ngrid.

In radlwsw, for the calculation of pozon, removed the factor
paprs(iof+i, 1)/101325, as in LMDZ. In procedure sw, removed the
factor 101325.0/PPSOL(JL), as in 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'éteindre le cycle diurne. Peut être utile
9 ! pour accélérer 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 INTEGER:: iflag_con = 2
29 ! Convection scheme:
30 ! 2 Tiedtke
31 ! 3 Emanuel
32 ! 4 Emanuel vect
33
34 contains
35
36 subroutine read_clesphys2
37
38 use unit_nml_m, only: unit_nml
39 use nr_util, only: assert
40
41 namelist /clesphys2_nml/cycle_diurne, soil_model, new_oliq, ok_orodr, &
42 ok_orolf, ok_limitvrai, nbapp_rad, iflag_con
43
44 !------------------------------------
45
46 print *, "Enter namelist 'clesphys2_nml'."
47 read(unit=*, nml=clesphys2_nml)
48 write(unit_nml, nml=clesphys2_nml)
49 call assert(iflag_con >= 2 .and. iflag_con <= 4, "read_clesphys2 iflag_con")
50
51 end subroutine read_clesphys2
52
53 end module clesphys2

  ViewVC Help
Powered by ViewVC 1.1.21