/[lmdze]
ViewVC logotype

Revision 162


Jump to revision: Previous Next
Author: guez
Date: Fri Jul 24 16:54:30 2015 UTC (8 years, 9 months ago)
Changed paths: 9
Log Message:
Variable pls of module pressure_var was only modified by calfis but I
could not move it to module calfis_m because it was used by a
procedure called by calfis (it would have been a cyclic
dependency). In the same way, variable p3d of module pressure_var was
only modified by leapfrog but I could not move it to module
leapfrog_m. So removed module pressure_var. p3d becomes a local
variable of leapfrog and an argument of calfis. Use paprs and play in
regr_pr_int and regr_pr_av (following LMDZ). The idea in regr_pr_int
and regr_pr_av is to spread and pack before the regridding instead of
packing afterward. The cost in memory should only be a two-dimensional
temporary array created by spread. The cost in clarity is only the
transiting of paprs and pplay through regr_pr_comb_coefoz, but this is
more than compensated by removing the side effect on module variables.


Changed paths

Path Details
Directorytrunk/Sources/dyn3d/calfis.f modified , text changed
Directorytrunk/Sources/dyn3d/leapfrog.f modified , text changed
Directorytrunk/Sources/dyn3d/pressure_var.f deleted
Directorytrunk/Sources/phylmd/Mobidic/regr_pr_av.f modified , text changed
Directorytrunk/Sources/phylmd/Mobidic/regr_pr_comb_coefoz.f modified , text changed
Directorytrunk/Sources/phylmd/Mobidic/regr_pr_int.f modified , text changed
Directorytrunk/Sources/phylmd/phytrac.f modified , text changed
Directorytrunk/depend.mk modified , text changed
Directorytrunk/src_gcm modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.21