Changeset 5265 for LMDZ6/trunk/libf/phylmd
- Timestamp:
- Oct 23, 2024, 5:08:55 PM (9 months ago)
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.