Changeset 1208 for trunk/LMDZ.MARS/libf/phymars/updatereffrad.F
- Timestamp:
- Mar 12, 2014, 4:30:18 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/updatereffrad.F
r1047 r1208 128 128 IF (water.AND.activice) THEN 129 129 IF (microphys) THEN 130 131 IF (firstcall) THEN 132 DO l=1,nlayer 133 DO ig=1,ngrid 134 call updaterice_micro(pq(ig,l,igcm_h2o_ice), 135 & pq(ig,l,igcm_ccn_mass), 136 & pq(ig,l,igcm_ccn_number), 137 & 1.e-3,rice(ig,l), 138 & rhocloud(ig,l)) 139 nuice(ig,l) = nuice_ref 140 ENDDO 141 ENDDO 142 firstcall = .false. 130 143 131 c At firstcall, the true number and true mass of cloud condensation nuclei are not known. 144 132 c Indeed it is scaled on the prescribed dust opacity via a 'tauscaling' coefficient 145 c computed after radiative transfer. 146 ELSE 147 DO l=1,nlayer 148 DO ig=1,ngrid 149 call updaterice_micro(pq(ig,l,igcm_h2o_ice), 150 & pq(ig,l,igcm_ccn_mass), 151 & pq(ig,l,igcm_ccn_number), 152 & tauscaling(ig),rice(ig,l), 153 & rhocloud(ig,l)) 154 nuice(ig,l) = nuice_ref 155 ENDDO 156 ENDDO 157 ENDIF ! of if firstcall 133 c computed after radiative transfer. If tauscaling is not in startfi, we make an assumption for its value. 134 135 IF (firstcall) THEN 136 IF (minval(tauscaling).lt.0) tauscaling(:) = 1.e-3 ! default value when non-read in startfi is -1 137 IF (freedust) tauscaling(:) = 1. ! if freedust, enforce no rescaling at all 138 firstcall = .false. 139 ENDIF 140 141 DO l=1,nlayer 142 DO ig=1,ngrid 143 call updaterice_micro(pq(ig,l,igcm_h2o_ice), 144 & pq(ig,l,igcm_ccn_mass), 145 & pq(ig,l,igcm_ccn_number), 146 & tauscaling(ig),rice(ig,l), 147 & rhocloud(ig,l)) 148 nuice(ig,l) = nuice_ref 149 ENDDO 150 ENDDO 158 151 159 152 ELSE ! if not microphys
Note: See TracChangeset
for help on using the changeset viewer.