Changeset 4775 for LMDZ6/trunk/libf/phylmdiso
- Timestamp:
- Dec 15, 2023, 12:38:51 PM (12 months ago)
- Location:
- LMDZ6/trunk/libf/phylmdiso
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmdiso/phys_output_var_mod.F90
r4703 r4775 177 177 !$OMP THREADPRIVATE(tkt, tks, taur, sss) 178 178 179 !AI. cloud_cover_sw, cloud_cover_sw_s2 from Ecrad (1rt and 2 call) 180 REAL, SAVE, ALLOCATABLE:: cloud_cover_sw(:), cloud_cover_sw_s2(:) 181 !$OMP THREADPRIVATE(cloud_cover_sw, cloud_cover_sw_s2) 182 179 183 CONTAINS 180 184 … … 253 257 ALLOCATE(icc3dstra(klon, klev)) 254 258 259 ! cloud_cover_sw, cloud_cover_sw_s2 from Ecrad 260 ALLOCATE(cloud_cover_sw(klon)) 261 ALLOCATE(cloud_cover_sw_s2(klon)) 262 255 263 END SUBROUTINE phys_output_var_init 256 264 … … 304 312 DEALLOCATE(icc3dstra) 305 313 314 !AI cloud_cover_sw, cloud_cover_sw_s2 from Ecrad 315 DEALLOCATE(cloud_cover_sw, cloud_cover_sw_s2) 316 306 317 END SUBROUTINE phys_output_var_end 307 318 -
LMDZ6/trunk/libf/phylmdiso/physiq_mod.F90
r4759 r4775 92 92 USE lmdz_cloud_optics_prop_ini, ONLY : cloud_optics_prop_ini 93 93 USE phys_output_var_mod, ONLY : cloudth_sth,cloudth_senv,cloudth_sigmath,cloudth_sigmaenv 94 94 USE phys_output_var_mod, ONLY : cloud_cover_sw, cloud_cover_sw_s2 95 95 96 96 !USE cmp_seri_mod … … 1342 1342 INTEGER ieru 1343 1343 1344 !AI namelist pour gerer le double appel de Ecrad 1345 CHARACTER(len=512) :: namelist_ecrad_file 1346 1344 1347 pi = 4. * ATAN(1.) 1345 1348 … … 1579 1582 WRITE(lunout,*) 'Call to infocfields from physiq' 1580 1583 CALL infocfields_init 1584 1585 #ifdef CPP_ECRAD 1586 ok_3Deffect=.false. 1587 CALL getin_p('ok_3Deffect',ok_3Deffect) 1588 namelist_ecrad_file='namelist_ecrad' 1589 #endif 1581 1590 1582 1591 ENDIF … … 5769 5778 ENDIF 5770 5779 ! 5780 ! AI namelist utilise pour l appel principal de radlwsw (ecrad) 5781 namelist_ecrad_file='namelist_ecrad' 5782 ! 5771 5783 CALL radlwsw & 5772 5784 (dist, rmu0, fract, & … … 5787 5799 zqsat, flwc, fiwc, & 5788 5800 ref_liq, ref_ice, ref_liq_pi, ref_ice_pi, & 5801 namelist_ecrad_file, & 5789 5802 heat,heat0,cool,cool0,albpla, & 5790 5803 heat_volc,cool_volc, & … … 5806 5819 !-end 5807 5820 ZLWFT0_i, ZFLDN0, ZFLUP0, & 5808 ZSWFT0_i, ZFSDN0, ZFSUP0) 5821 ZSWFT0_i, ZFSDN0, ZFSUP0, & 5822 cloud_cover_sw) 5809 5823 5810 5824 !lwoff=y, betalwoff=1. : offset LW CRE for radiation code and other … … 5843 5857 ENDIF 5844 5858 ! 5859 ! AI namelist utilise pour l appel principal de radlwsw (ecrad) 5860 namelist_ecrad_file='namelist_ecrad' 5861 ! 5845 5862 CALL radlwsw & 5846 5863 (dist, rmu0, fract, & … … 5861 5878 zqsat, flwc, fiwc, & 5862 5879 ref_liq, ref_ice, ref_liq_pi, ref_ice_pi, & 5880 namelist_ecrad_file, & 5863 5881 heatp,heat0p,coolp,cool0p,albplap, & 5864 5882 heat_volc,cool_volc, & … … 5880 5898 !-end 5881 5899 ZLWFT0_i, ZFLDN0, ZFLUP0, & 5882 ZSWFT0_i, ZFSDN0, ZFSUP0) 5900 ZSWFT0_i, ZFSDN0, ZFSUP0, & 5901 cloud_cover_sw) 5883 5902 ENDIF !ok_4xCO2atm 5884 5903 ENDIF ! aerosol_couple
Note: See TracChangeset
for help on using the changeset viewer.