/[lmdze]/trunk/src_test_ozonecm
ViewVC logotype

Contents of /trunk/src_test_ozonecm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 191 - (show annotations)
Mon May 9 19:56:28 2016 UTC (7 years, 11 months ago) by guez
File size: 186 byte(s)
Extracted the call to read_comdissnew out of conf_gcm.

Made ok_instan a variable of module clesphys, itau_phy a variable of
module phyetat0_m, nid_ins a variable of module ini_histins_m, itap a
variable of new module time_phylmdz, so that histwrite_phy can be
called from any procedure without the need to cascade those variables
into that procedure. Made itau_w a variable of module time_phylmdz so
that it is computed only once per time step of physics.

Extracted variables of module clesphys which were in namelist
conf_phys_nml into their own namelist, clesphys_nml, and created
procedure read_clesphys reading clesphys_nml, to avoid side effect.

No need for double precision in procedure getso4fromfile. Assume there
is a single variable for the whole year in the NetCDF file instead of
one variable per month.

Created generic procedure histwrite_phy and removed procedure
write_histins, following LMDZ. histwrite_phy has only two arguments,
can be called from anywhere, and should manage the logic of writing or
not writing into various history files with various operations. So the
test on ok_instan goes inside histwrite_phy.

Test for raz_date in phyetat0 instead of physiq to avoid side effect.

Created procedure increment_itap to avoid side effect.

Removed unnecessary differences between procedures readsulfate and
readsulfate_pi.

1 abort_gcm.f
2 conf_gcm.f
3 dimens_m.f
4 dimphy.f
5 disvert.f
6 errioipsl.f
7 histbeg_totreg.f
8 histclo.f
9 histcom_var.f
10 histhori_regular.f
11 indicesol.f
12 ozonecm.f
13 phyetat0.f
14 test_ozonecm.f
15 unit_nml_m.f

  ViewVC Help
Powered by ViewVC 1.1.21