Changeset 5265 for LMDZ6/trunk
- Timestamp:
- Oct 23, 2024, 5:08:55 PM (3 months ago)
- Location:
- LMDZ6/trunk/libf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/physiq_mod.F90
r5253 r5265 113 113 USE time_phylmdz_mod, ONLY: annee_ref, day_ini, day_ref, start_time 114 114 USE vertical_layers_mod, ONLY: aps, bps, ap, bp 115 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_INCA, CPPKEY_REPROBUS, CPPKEY_STRATAER, CPPKEY_DUST 115 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_INCA, CPPKEY_REPROBUS, CPPKEY_STRATAER, CPPKEY_DUST, CPPKEY_COSP, CPPKEY_COSP2, CPPKEY_COSPV2 116 116 117 117 #ifdef CPP_RRTM … … 1185 1185 !============================================================ 1186 1186 ! AI 10-22 1187 #ifdef CPP_COSP1188 1187 include "ini_COSP.h" 1189 #endif1190 #ifdef CPP_COSPV21191 include "ini_COSP.h"1192 #endif1193 1188 real :: mr_ozone(klon,klev), phicosp(klon,klev) 1194 1189 … … 1783 1778 if (ok_cosp) then 1784 1779 1785 #ifdef CPP_COSP 1780 IF (CPPKEY_COSP) THEN 1786 1781 CALL ini_COSP(ref_liq_cosp0,ref_ice_cosp0,pctsrf_cosp0,zu10m_cosp0,zv10m_cosp0, & 1787 1782 zxtsol_cosp0,zx_rh_cosp0,cldfra_cosp0,rnebcon_cosp0,flwc_cosp0, & … … 1801 1796 pmflxr_cosp0(:,1:klev),pmflxs_cosp0(:,1:klev), & 1802 1797 mr_ozone_cosp0,cldtau_cosp0, cldemi_cosp0) 1803 #endif 1804 1805 #ifdef CPP_COSPV2 1798 END IF 1799 1800 IF (CPPKEY_COSPV2) THEN 1806 1801 CALL ini_COSP(ref_liq_cosp0,ref_ice_cosp0,pctsrf_cosp0,zu10m_cosp0,zv10m_cosp0, & 1807 1802 zxtsol_cosp0,zx_rh_cosp0,cldfra_cosp0,rnebcon_cosp0,flwc_cosp0, & … … 1821 1816 pmflxr_cosp0(:,1:klev),pmflxs_cosp0(:,1:klev), & 1822 1817 mr_ozone_cosp0,cldtau_cosp0, cldemi_cosp0) 1823 #endif 1818 END IF 1824 1819 ENDIF 1825 1820 … … 5174 5169 IF (ok_cosp) THEN 5175 5170 ! adeclarer 5176 #ifdef CPP_COSP 5171 IF (CPPKEY_COSP) THEN 5177 5172 IF (itap.eq.1.or.MOD(itap,NINT(freq_cosp/phys_tstep)).EQ.0) THEN 5178 5173 … … 5203 5198 5204 5199 ENDIF 5205 #endif 5206 5207 #ifdef CPP_COSP2 5200 END IF 5201 5202 IF (CPPKEY_COSP2) THEN 5208 5203 IF (itap.eq.1.or.MOD(itap,NINT(freq_cosp/phys_tstep)).EQ.0) THEN 5209 5204 … … 5227 5222 mr_ozone,cldtau, cldemi) 5228 5223 ENDIF 5229 #endif 5230 5231 #ifdef CPP_COSPV2 5224 END IF 5225 5226 IF (CPPKEY_COSPV2) THEN 5232 5227 IF (itap.eq.1.or.MOD(itap,NINT(freq_cosp/phys_tstep)).EQ.0) THEN 5233 5228 ! IF (MOD(itap,NINT(freq_cosp/phys_tstep)).EQ.0) THEN … … 5257 5252 mr_ozone,cldtau, cldemi) 5258 5253 ENDIF 5259 #endif 5254 END IF 5260 5255 5261 5256 ENDIF !ok_cosp -
LMDZ6/trunk/libf/phylmdiso/physiq_mod.F90
r5256 r5265 430 430 reffclwc, cldnvi, lcc3d, lcc3dcon, lcc3dstra, icc3dcon, icc3dstra 431 431 USE output_physiqex_mod, ONLY: output_physiqex 432 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_INCA, CPPKEY_REPROBUS, CPPKEY_STRATAER, CPPKEY_DUST 432 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_INCA, CPPKEY_REPROBUS, CPPKEY_STRATAER, CPPKEY_DUST, CPPKEY_COSP, CPPKEY_COSP2, CPPKEY_COSPV2 433 433 434 434 … … 1295 1295 !============================================================ 1296 1296 ! AI 10-22 1297 #ifdef CPP_COSP1298 1297 include "ini_COSP.h" 1299 #endif1300 #ifdef CPP_COSPV21301 include "ini_COSP.h"1302 #endif1303 1298 real :: mr_ozone(klon,klev), phicosp(klon,klev) 1304 1299 … … 1953 1948 if (ok_cosp) then 1954 1949 1955 #ifdef CPP_COSP 1950 IF (CPPKEY_COSP) THEN 1956 1951 CALL ini_COSP(ref_liq_cosp0,ref_ice_cosp0,pctsrf_cosp0,zu10m_cosp0,zv10m_cosp0, & 1957 1952 zxtsol_cosp0,zx_rh_cosp0,cldfra_cosp0,rnebcon_cosp0,flwc_cosp0, & … … 1971 1966 pmflxr_cosp0(:,1:klev),pmflxs_cosp0(:,1:klev), & 1972 1967 mr_ozone_cosp0,cldtau_cosp0, cldemi_cosp0) 1973 #endif 1974 1975 #ifdef CPP_COSPV2 1968 END IF 1969 1970 IF (CPPKEY_COSPV2) THEN 1976 1971 CALL ini_COSP(ref_liq_cosp0,ref_ice_cosp0,pctsrf_cosp0,zu10m_cosp0,zv10m_cosp0, & 1977 1972 zxtsol_cosp0,zx_rh_cosp0,cldfra_cosp0,rnebcon_cosp0,flwc_cosp0, & … … 1991 1986 pmflxr_cosp0(:,1:klev),pmflxs_cosp0(:,1:klev), & 1992 1987 mr_ozone_cosp0,cldtau_cosp0, cldemi_cosp0) 1993 #endif 1988 END IF 1994 1989 1995 1990 endif !ok_cosp … … 6725 6720 IF (ok_cosp) THEN 6726 6721 ! adeclarer 6727 #ifdef CPP_COSP 6722 IF (CPPKEY_COSP) THEN 6728 6723 IF (itap.eq.1.or.MOD(itap,NINT(freq_cosp/phys_tstep)).EQ.0) THEN 6729 6724 … … 6754 6749 6755 6750 ENDIF 6756 #endif 6757 6758 #ifdef CPP_COSP2 6751 END IF 6752 6753 IF (CPPKEY_COSP2) THEN 6759 6754 IF (itap.eq.1.or.MOD(itap,NINT(freq_cosp/phys_tstep)).EQ.0) THEN 6760 6755 … … 6778 6773 mr_ozone,cldtau, cldemi) 6779 6774 ENDIF 6780 #endif 6781 6782 #ifdef CPP_COSPV2 6775 END IF 6776 6777 IF (CPPKEY_COSPV2) THEN 6783 6778 IF (itap.eq.1.or.MOD(itap,NINT(freq_cosp/phys_tstep)).EQ.0) THEN 6784 6779 ! IF (MOD(itap,NINT(freq_cosp/phys_tstep)).EQ.0) THEN … … 6808 6803 mr_ozone,cldtau, cldemi) 6809 6804 ENDIF 6810 #endif 6805 END IF 6811 6806 6812 6807 ENDIF !ok_cosp
Note: See TracChangeset
for help on using the changeset viewer.