/[lmdze]/trunk/Sources/dimens_m.f
ViewVC logotype

Contents of /trunk/Sources/dimens_m.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 195 - (show annotations)
Wed May 18 17:56:44 2016 UTC (7 years, 11 months ago) by guez
File size: 389 byte(s)
In cv30_feed, iflag1 is 0 on entry so we can simplify the test for
iflag1 = 7.

In cv30_feed, for the computation of icb, replaced sequential search
(with a useless end of loop on k) by a call to locate.

In CV30 routines, replaced len, nloc, nd, na by klon or
klev. Philosophy: no more generality than actually necessary.

Converted as many variables as possible to named constants in
cv30_param_m and downgraded pbcrit, ptcrit, dtovsh, dpbase, dttrig,
tau, delta to local objects in procedures. spfac, betad and omtrain
are useless and removed.

Instead of filling the array sigp with the constant spfac in
cv30_undilute2, just made sigp a constant in cv30_unsat.

In cv_driver, define as allocatable variables that are only
used on the range (ncum, nl).

1 module dimens_m
2
3 ! Model dimensions.
4
5 implicit none
6
7 INTEGER, PARAMETER:: iim = 16 ! number of longitudes
8 INTEGER, PARAMETER:: jjm = 12 ! number of latitudes
9
10 INTEGER, PARAMETER:: llm = 11
11 ! number of vertical layers, should be >= 7, because of nl in cv30_param_m
12
13 INTEGER, PARAMETER:: ndm = 1
14 integer, parameter:: nqmx = 5 ! maximum number of tracers
15
16 end module dimens_m

  ViewVC Help
Powered by ViewVC 1.1.21