Changeset 2408 for LMDZ5/branches/testing/libf/phylmd/conf_phys_m.F90
- Timestamp:
- Dec 14, 2015, 11:43:09 AM (9 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2293-2295,2297,2299-2302,2305-2313,2315,2317-2380,2382-2396
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/conf_phys_m.F90
r2298 r2408 27 27 USE phys_cal_mod 28 28 USE carbon_cycle_mod, ONLY : carbon_cycle_tr, carbon_cycle_cpl 29 USE control_mod30 29 USE mod_grid_phy_lmdz, only: klon_glo 31 30 USE print_control_mod, ONLY: lunout 32 31 33 32 … … 39 38 40 39 include "thermcell.h" 41 include "iniprint.h"42 40 43 41 … … 206 204 LOGICAL,SAVE :: ok_strato_omp 207 205 LOGICAL,SAVE :: ok_hines_omp, ok_gwd_rando_omp 208 real, SAVE:: GWD_RANDO_RUWMAX_omp, gwd_rando_sat_omp 206 real, SAVE:: gwd_rando_ruwmax_omp, gwd_rando_sat_omp 207 real, SAVE:: gwd_front_ruwmax_omp, gwd_front_sat_omp 208 real, save:: sso_gkdrag_omp,sso_grahil_omp,sso_grcrit_omp 209 real, save:: sso_gfrcri_omp,sso_gkwake_omp,sso_gklift_omp 209 210 LOGICAL,SAVE :: ok_qch4_omp 210 211 LOGICAL,SAVE :: carbon_cycle_tr_omp … … 220 221 !----------------------------------------------------------------- 221 222 222 223 print*,'CONFPHYS ENTREE' 223 224 !$OMP MASTER 224 225 !Config Key = type_ocean … … 249 250 WRITE(lunout,*)'Variable OCEAN has been replaced by the variable type_ocean.' 250 251 WRITE(lunout,*)'You have to update your parameter file physiq.def to succed running' 251 CALL abort_ gcm('conf_phys','Variable OCEAN no longer existing, use variable name type_ocean',1)252 CALL abort_physic('conf_phys','Variable OCEAN no longer existing, use variable name type_ocean',1) 252 253 END IF 253 254 … … 262 263 WRITE(lunout,*)'ERROR! Timestep of coupling between atmosphere and ocean' 263 264 WRITE(lunout,*)'cannot be zero.' 264 CALL abort_ gcm('conf_phys','t_coupl = 0.',1)265 CALL abort_physic('conf_phys','t_coupl = 0.',1) 265 266 END IF 266 267 … … 915 916 NSW_omp = 6 916 917 call getin('NSW',NSW_omp) 917 !albedo SB >>>918 !albedo SB >>> 918 919 iflag_albedo_omp = 0 919 920 call getin('iflag_albedo',iflag_albedo_omp) … … 921 922 ok_chlorophyll_omp=.false. 922 923 call getin('ok_chlorophyll',ok_chlorophyll_omp) 923 !albedo SB <<<924 !albedo SB <<< 924 925 925 926 ! … … 930 931 ! 931 932 iflag_cld_th_omp = 1 932 ! On lit deux fois avec l'ancien et le nouveau nom933 ! pour assurer une retrocompatiblite.934 ! A abandonner un jour933 ! On lit deux fois avec l'ancien et le nouveau nom 934 ! pour assurer une retrocompatiblite. 935 ! A abandonner un jour 935 936 call getin('iflag_cldcon',iflag_cld_th_omp) 936 937 call getin('iflag_cld_th',iflag_cld_th_omp) … … 1680 1681 ! 1681 1682 1682 ! Gustiness flags1683 ! Gustiness flags 1683 1684 f_z0qh_oce_omp = 1. 1684 1685 call getin('f_z0qh_oce',f_z0qh_oce_omp) … … 1813 1814 !Config Def = .FALSE. 1814 1815 !Config Help = active la version stratosph\'erique de LMDZ de F. Lott 1816 ! Et la sponge layer (Runs Stratospheriques) 1815 1817 1816 1818 ok_strato_omp=.FALSE. … … 1821 1823 !Config Def = .FALSE. 1822 1824 !Config Help = Clefs controlant la parametrization de Hines 1823 ! Et la sponge layer (Runs Stratospheriques)1824 1825 1825 1826 ok_hines_omp=.FALSE. 1826 1827 CALL getin('ok_hines',ok_hines_omp) 1828 1829 ! Parametres pour les ondes de gravite 1830 ! 1831 ! Subgrid Scale Orography (Lott Miller (1997), Lott (1999)) 1832 1833 sso_gkdrag_omp = merge(0.1875, 0.2, ok_strato_omp) 1834 CALL getin('sso_gkdrag', sso_gkdrag_omp) 1835 1836 sso_grahil_omp=merge(0.1,1.,ok_strato_omp) 1837 CALL getin('sso_grahil', sso_grahil_omp) 1838 1839 sso_grcrit_omp =merge(1.,0.01,ok_strato_omp) 1840 CALL getin('sso_grcrit', sso_grcrit_omp) 1841 1842 sso_gfrcri_omp = 1. 1843 CALL getin('sso_gfrcri', sso_gfrcri_omp) 1844 1845 sso_gkwake_omp = 0.50 1846 CALL getin('sso_gkwake', sso_gkwake_omp) 1847 1848 sso_gklift_omp = merge(0.25,0.50,ok_strato_omp) 1849 CALL getin('sso_gklift', sso_gklift_omp) 1827 1850 1828 1851 ! Random gravity waves: … … 1836 1859 ENDIF 1837 1860 1838 GWD_RANDO_RUWMAX_omp = 0.011839 CALL getin('gwd_rando_ruwmax', GWD_RANDO_RUWMAX_omp)1861 gwd_rando_ruwmax_omp = 2.00 1862 CALL getin('gwd_rando_ruwmax', gwd_rando_ruwmax_omp) 1840 1863 1841 1864 gwd_rando_sat_omp = 0.25 1842 1865 CALL getin('gwd_rando_sat', gwd_rando_sat_omp) 1866 1867 gwd_front_ruwmax_omp = 2.50 1868 CALL getin('gwd_front_ruwmax', gwd_front_ruwmax_omp) 1869 1870 gwd_front_sat_omp = 0.60 1871 CALL getin('gwd_front_sat', gwd_front_sat_omp) 1872 1843 1873 1844 1874 !Config key = ok_qch4 … … 2022 2052 iflag_radia = iflag_radia_omp 2023 2053 iflag_rrtm = iflag_rrtm_omp 2054 iflag_albedo = iflag_albedo_omp 2055 ok_chlorophyll = ok_chlorophyll_omp 2024 2056 NSW = NSW_omp 2025 2057 iflag_cld_th = iflag_cld_th_omp … … 2098 2130 tmax_fonte_cv = tmax_fonte_cv_omp 2099 2131 alphas = alphas_omp 2132 2133 gkdrag=sso_gkdrag_omp 2134 grahilo=sso_grahil_omp 2135 grcrit=sso_grcrit_omp 2136 gfrcrit=sso_gfrcri_omp 2137 gkwake=sso_gkwake_omp 2138 gklift=sso_gklift_omp 2139 2100 2140 ok_strato = ok_strato_omp 2101 2141 ok_hines = ok_hines_omp 2102 2142 ok_gwd_rando = ok_gwd_rando_omp 2103 GWD_RANDO_RUWMAX = GWD_RANDO_RUWMAX_omp2143 gwd_rando_ruwmax = gwd_rando_ruwmax_omp 2104 2144 gwd_rando_sat = gwd_rando_sat_omp 2145 gwd_front_ruwmax = gwd_front_ruwmax_omp 2146 gwd_front_sat = gwd_front_sat_omp 2105 2147 ok_qch4 = ok_qch4_omp 2106 2148 ok_LES = ok_LES_omp … … 2113 2155 IF (type_ocean=='couple' .AND. (version_ocean/='opa8' .AND. version_ocean/='nemo') ) THEN 2114 2156 WRITE(lunout,*)' ERROR version_ocean=',version_ocean,' not valid in coupled configuration' 2115 CALL abort_ gcm('conf_phys','version_ocean not valid',1)2157 CALL abort_physic('conf_phys','version_ocean not valid',1) 2116 2158 END IF 2117 2159 … … 2119 2161 version_ocean='sicOBS' 2120 2162 ELSE IF (type_ocean=='slab' .AND. version_ocean/='sicOBS' & 2121 2163 .AND. version_ocean/='sicINT' .AND. version_ocean/='sicNO') THEN 2122 2164 WRITE(lunout,*)' ERROR version_ocean=',version_ocean,' not valid with slab ocean' 2123 CALL abort_ gcm('conf_phys','version_ocean not valid',1)2165 CALL abort_physic('conf_phys','version_ocean not valid',1) 2124 2166 END IF 2125 2167 … … 2128 2170 IF (ok_ade .OR. ok_aie) THEN 2129 2171 IF ( flag_aerosol .EQ. 0 ) THEN 2130 CALL abort_ gcm('conf_phys','flag_aerosol=0 not compatible avec ok_ade ou ok_aie=.TRUE.',1)2172 CALL abort_physic('conf_phys','flag_aerosol=0 not compatible avec ok_ade ou ok_aie=.TRUE.',1) 2131 2173 END IF 2132 2174 IF ( .NOT. new_aod .AND. flag_aerosol .NE. 1) THEN 2133 CALL abort_ gcm('conf_phys','new_aod=.FALSE. not compatible avec flag_aerosol=1',1)2175 CALL abort_physic('conf_phys','new_aod=.FALSE. not compatible avec flag_aerosol=1',1) 2134 2176 END IF 2135 2177 END IF … … 2137 2179 ! ok_cdnc must be set to y if ok_aie is activated 2138 2180 IF (ok_aie .AND. .NOT. ok_cdnc) THEN 2139 CALL abort_ gcm('conf_phys', 'ok_cdnc must be set to y if ok_aie is activated',1)2181 CALL abort_physic('conf_phys', 'ok_cdnc must be set to y if ok_aie is activated',1) 2140 2182 ENDIF 2141 2183 … … 2308 2350 write(lunout,*) 'ok_gwd_rando = ', ok_gwd_rando 2309 2351 write(lunout,*) 'ok_qch4 = ', ok_qch4 2310 write(lunout,*) ' GWD_RANDO_RUWMAX = ', GWD_RANDO_RUWMAX2352 write(lunout,*) 'gwd_rando_ruwmax = ', gwd_rando_ruwmax 2311 2353 write(lunout,*) 'gwd_rando_sat = ', gwd_rando_sat 2354 write(lunout,*) 'gwd_front_ruwmax = ', gwd_front_ruwmax 2355 write(lunout,*) 'gwd_front_sat = ', gwd_front_sat 2356 write(lunout,*) 'SSO gkdrag =',gkdrag 2357 write(lunout,*) 'SSO grahilo=',grahilo 2358 write(lunout,*) 'SSO grcrit=',grcrit 2359 write(lunout,*) 'SSO gfrcrit=',gfrcrit 2360 write(lunout,*) 'SSO gkwake=',gkwake 2361 write(lunout,*) 'SSO gklift=',gklift 2312 2362 write(lunout,*) 'read_climoz = ', read_climoz 2313 2363 write(lunout,*) 'carbon_cycle_tr = ', carbon_cycle_tr … … 2328 2378 2329 2379 use IOIPSL 2380 USE print_control_mod, ONLY: lunout 2330 2381 implicit none 2331 include "iniprint.h"2332 2382 ! Configuration de l'interace atm/surf 2333 2383 !
Note: See TracChangeset
for help on using the changeset viewer.