The default value for gwd_rando_ruwmax is changed. This is ok because
the Lott GWD rando parameterization has not been much used yet.
New parameters GWD_FRONT_RUWMAX, GWD_FRONT_SAT, that can be chosen at
run-time, for frontal gravity waves.
New paramters sso_gkdrag, sso_grahil, sso_grcrit, sso_gfrcri,
sso_gkwake, sso_gklift that can be chosen at run-time, for orographic
gravity waves. The default values for those parameters are those that
were hard-coded before this revision.
88 lines of code changed in 6 files:
Corrected bug: sollw was written twice to the restart file and sollwdown was never written.
1 lines of code changed in 1 file:
Bug fix on bug introduced in previous bug fix (klon_glo is not set before call to init_physics_distribution, but has a correct value after).
EM
1 lines of code changed in 1 file:
Corrections for the 1D model to fix initializations broken with previous revision.
EM+MPL
10 lines of code changed in 2 files:
Correction for ce0l to compile and work in serial mode.
EM
5 lines of code changed in 1 file:
Fix a circular dependency introduced in previous commit: occurs when routines in phy_common use module print_control. Make them 'include "iniprint.h"' instead (not an ideal solution but will have to do for now), and therfore move iniprint.h to "misc" directory.
EM
14 lines of code changed in 5 files:
More on physics/dynamics separation and cleanup:
- Set things up so that all physics-related initializations are done via iniphysiq.
- Created a "geometry_mod.F90" module in phy_common to store information on the loacl grid (i.e. replaces comgeomphy) and moreover give these variables more obvious names (e.g.: rlond => longitude, rlatd => latitude, airephy => cell_area).
- removed obsolete comgeomphy.h and comgeomphy.F90
EM
915 lines of code changed in 52 files:
Corrections for 1D case where nbp_lon=nbp_lat=1.
EM + MPL
12 lines of code changed in 2 files:
Fix call to iniphysiq in ce0l.
EM
2 lines of code changed in 1 file:
Added missing declarations required when CPP_VEGET preprocessing flag is defined (i.e. for LMDZOR).
EM
7 lines of code changed in 2 files:
Make iniphysiq a module.
Fix call to iniphysiq in lmdz1d (missing arguments and arrays of wrong sizes).
EM
810 lines of code changed in 10 files:
Physics/dynamics separation:
- remove all references to dimensions.h from physics. nbp_lon (==iim) , nbp_lat (==jjm+1) and nbp_lev (==llm) from mod_grid_phy_lmdz should be used instead.
- added module regular_lonlat_mod in phy_common to store information about the global (lon-lat) grid cell boundaries and centers.
EM
391 lines of code changed in 78 files:
Physics/dynamics separation:
- move test_disvert_m to dynlonlat_phylonlat/phylmd since it is only used by ce0l and relies on dynamics.
- put "config_inca" in tracinca_mod so physics routines can get the info from there rather than from control_mod.
- get rid of references to "control_mod" from within the physics.
EM
111 lines of code changed in 19 files:
Physics/dynamics separation: get rid of all the 'include "temps.h"' in the physics; variables in module time_phylmdz_mod must be used instead. Also added JD_cur, JH_cur and JD_ref in module phys_cal_mod, in preparation for having physics handle its calendar internally.
EM
477 lines of code changed in 21 files:
Another step towards a clean separation between physics and dynamics: adapted read_pstoke.F90, read_pstoke0.F90 initphysto.F90 and phystokenc.F90 (now module phystokenc_mod.F90) to not explicitely include/use file/modules from the dynamics.
In the process, added module "time_phylmdz_mod.F90" in the physics, which contains the information otherwise found in "temps.h" (which is in the dynamics) and should be used instead.
EM
732 lines of code changed in 12 files:
Follow-up for a cleaner separation between dynamics and physics:
- "write_field" is called from physics and dynamics but has no dependence on either so it should be in "misc"
- "write_field_phy" is common to all physics, so it goes in "phy_common"
- "init_ssrf_m" and "limit_netcdf" are only used by ce0l, so these should be in "dynlonlat_phylonlat/phylmd"
- "q_sat" is called from physics and dynamics but has no dependence on either so it should be in "misc"
EM
1415 lines of code changed in 12 files:
Bug fix : Add !$OMP THREADPRIVATE for
zustr_gwd_hines, zvstr_gwd_hines
zustr_gwd_front, zvstr_gwd_front
IM
2 lines of code changed in 1 file:
Bug fix: Adding the tendencies from wakes to dry adjustement tendencies should only be done if wakes are computed.
EM + JYG
14 lines of code changed in 1 file:
Bug on l initialization for debug mode
IM
8 lines of code changed in 1 file:
2 lines of code changed in 1 file:
0 lines of code changed in 1 file: