/[lmdze]/trunk/src_ce0l
ViewVC logotype

Annotation of /trunk/src_ce0l

Parent Directory Parent Directory | Revision Log Revision Log


Revision 157 - (hide annotations)
Mon Jul 20 16:01:49 2015 UTC (8 years, 9 months ago) by guez
File size: 1073 byte(s)
Just encapsulated SUBROUTINE vlsplt in a module and cleaned it.

In procedure vlx, local variables dxqu and adxqu only need indices
iip2:ip1jm. Otherwise, just cleaned vlx.

Procedures dynredem0 and dynredem1 no longer have argument fichnom,
they just operate on a file named "restart.nc". The programming
guideline here is that gcm should not be more complex than it needs by
itself, other programs (ce0l etc.) just have to adapt to gcm. So ce0l
now creates files "restart.nc" and "restartphy.nc".

In order to facilitate decentralizing the writing of "restartphy.nc",
created a procedure phyredem0 out of phyredem. phyredem0 creates the
NetCDF header of "restartphy.nc" while phyredem writes the NetCDF
variables. As the global attribute itau_phy needs to be filled in
phyredem0, at the beginnig of the run, we must compute its value
instead of just using itap. So we have a dummy argument lmt_pas of
phyredem0. Also, the ncid of "startphy.nc" is upgraded from local
variable of phyetat0 to dummy argument. phyetat0 no longer closes
"startphy.nc".

Following the same decentralizing objective, the ncid of "restart.nc"
is upgraded from local variable of dynredem0 to module variable of
dynredem0_m. "restart.nc" is not closed at the end of dynredem0 nor
opened at the beginning of dynredem1.

In procedure etat0, instead of creating many vectors of size klon
which will be filled with zeroes, just create one array null_array.

In procedure phytrac, instead of writing trs(: 1) to a text file,
write it to "restartphy.nc" (following LMDZ). This is better because
now trs(: 1) is next to its coordinates. We can write to
"restartphy.nc" from phytrac directly, and not add trs(: 1) to the
long list of variables in physiq, thanks to the decentralizing of
"restartphy.nc".

In procedure phyetat0, we no longer write to standard output the
minimum and maximum values of read arrays. It is ok to check input and
abort on invalid values but just printing statistics on input seems too
much useless computation and out of place clutter.

1 guez 123 abort_gcm.f
2     acc.f
3     bernoui.f
4     caldyn0.f
5     calendar.f
6     ce0l.f
7     clesphys.f
8     coefpoly.f
9     comconst.f
10     comdissnew.f
11     comgeom.f
12     conf_dat2d.f
13     conf_dat3d.f
14     conf_gcm.f
15     convflu.f
16     convmas.f
17     covcont.f
18     dimens_m.f
19     dimphy.f
20     dimsoil.f
21     disvert.f
22 guez 129 dynetat0.f
23 guez 123 dynredem0.f
24     dynredem1.f
25     enercin.f
26     ener.f
27     errioipsl.f
28     etat0.f
29     exner_hyb.f
30     extrapol.f
31 guez 136 filtreg_hemisph.f
32 guez 137 filtreg_scal.f
33     filtreg_v.f
34 guez 123 flumass.f
35     fxhyp.f
36     fyhyp.f
37     geopot.f
38     grid_atob.f
39     grid_change.f
40     grid_noro_m.f
41     grilles_gcm_netcdf_sub.f
42     gr_int_dyn_m.f
43     heavyside.f
44 guez 138 histbeg_totreg.f
45 guez 123 histclo.f
46     histcom_var.f
47 guez 138 histhori_regular.f
48 guez 123 indicesol.f
49     iniadvtrac.f
50     inifgn.f
51     inifilr.f
52     inter_barx.f
53     inter_barxy.f
54     inter_bary.f
55 guez 131 invert_zoom_x.f
56 guez 123 ioconf_calendar.f
57 guez 138 ioipslmpp.f
58 guez 123 ju2ymds.f
59     limit.f
60     massbar.f
61     massbarxy.f
62     massdair.f
63     minmax.f
64     mva9.f
65     ord_coord.f
66     ord_coordm.f
67     paramet_m.f
68 guez 138 phyetat0.f
69 guez 123 phyredem.f
70 guez 157 phyredem0.f
71 guez 124 principal_cshift.f
72 guez 123 q_sat.f
73     regr_lat_time_coefoz.f
74     regr_pr_o3.f
75 guez 139 read_serre.f
76 guez 123 sortvarc.f
77     ssum.f
78     startdyn.f
79     start_init_orog_m.f
80     start_init_phys_m.f
81     start_inter_3d.f
82     strlowercase.f
83 guez 144 tanh_cautious.f
84 guez 123 temps.f
85     test_disvert.f
86     tourpot.f
87     unit_nml_m.f
88     vitvert.f
89     ymds2ju.f

  ViewVC Help
Powered by ViewVC 1.1.21