Changeset 1973 for trunk/LMDZ.MARS/libf/phymars
- Timestamp:
- Jul 17, 2018, 4:38:20 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r1972 r1973 408 408 real fluxtop_swclf(ngrid,2) 409 409 real taucloudtesclf(ngrid) 410 real tf , ntf ! tf: fraction of clouds, ntf: fraction without clouds410 real tf_clf, ntf_clf ! tf: fraction of clouds, ntf: fraction without clouds 411 411 real rave2(ngrid), totrave2(ngrid) ! Mean water ice mean radius (m) 412 412 … … 751 751 ! cases 752 752 DO ig=1,ngrid 753 tf =totcloudfrac(ig)754 ntf =1.-tf755 fluxsurf_lw(ig) = ntf *fluxsurf_lwclf(ig)756 & + tf*fluxsurf_lw(ig)757 fluxsurf_sw(ig,1) = ntf *fluxsurf_swclf(ig,1)758 & + tf*fluxsurf_sw(ig,1)759 fluxsurf_sw(ig,2) = ntf *fluxsurf_swclf(ig,2)760 & + tf*fluxsurf_sw(ig,2)761 fluxtop_lw(ig) = ntf *fluxtop_lwclf(ig)762 & + tf*fluxtop_lw(ig)763 fluxtop_sw(ig,1) = ntf *fluxtop_swclf(ig,1)764 & + tf*fluxtop_sw(ig,1)765 fluxtop_sw(ig,2) = ntf *fluxtop_swclf(ig,2)766 & + tf*fluxtop_sw(ig,2)767 taucloudtes(ig) = ntf *taucloudtesclf(ig)768 & + tf*taucloudtes(ig)769 zdtlw(ig,1:nlayer) = ntf *zdtlwclf(ig,1:nlayer)770 & + tf*zdtlw(ig,1:nlayer)771 zdtsw(ig,1:nlayer) = ntf *zdtswclf(ig,1:nlayer)772 & + tf*zdtsw(ig,1:nlayer)753 tf_clf=totcloudfrac(ig) 754 ntf_clf=1.-tf_clf 755 fluxsurf_lw(ig) = ntf_clf*fluxsurf_lwclf(ig) 756 & + tf_clf*fluxsurf_lw(ig) 757 fluxsurf_sw(ig,1) = ntf_clf*fluxsurf_swclf(ig,1) 758 & + tf_clf*fluxsurf_sw(ig,1) 759 fluxsurf_sw(ig,2) = ntf_clf*fluxsurf_swclf(ig,2) 760 & + tf_clf*fluxsurf_sw(ig,2) 761 fluxtop_lw(ig) = ntf_clf*fluxtop_lwclf(ig) 762 & + tf_clf*fluxtop_lw(ig) 763 fluxtop_sw(ig,1) = ntf_clf*fluxtop_swclf(ig,1) 764 & + tf_clf*fluxtop_sw(ig,1) 765 fluxtop_sw(ig,2) = ntf_clf*fluxtop_swclf(ig,2) 766 & + tf_clf*fluxtop_sw(ig,2) 767 taucloudtes(ig) = ntf_clf*taucloudtesclf(ig) 768 & + tf_clf*taucloudtes(ig) 769 zdtlw(ig,1:nlayer) = ntf_clf*zdtlwclf(ig,1:nlayer) 770 & + tf_clf*zdtlw(ig,1:nlayer) 771 zdtsw(ig,1:nlayer) = ntf_clf*zdtswclf(ig,1:nlayer) 772 & + tf_clf*zdtsw(ig,1:nlayer) 773 773 ENDDO 774 774
Note: See TracChangeset
for help on using the changeset viewer.