Changeset 1307 for LMDZ4/trunk/libf
- Timestamp:
- Jan 29, 2010, 3:40:49 PM (15 years ago)
- Location:
- LMDZ4/trunk/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/phylmd/phys_output_mod.F90
r1285 r1307 339 339 type(ctrl_out),save :: o_rugs = ctrl_out((/ 10, 10, 10, 1, 1 /),'rugs') 340 340 341 type(ctrl_out),save :: o_topswad = ctrl_out((/ 4, 10, 10, 10, 10 /),'topswad')342 type(ctrl_out),save :: o_topswai = ctrl_out((/ 4, 10, 10, 10, 10 /),'topswai')343 type(ctrl_out),save :: o_solswad = ctrl_out((/ 4, 10, 10, 10, 10 /),'solswad')344 type(ctrl_out),save :: o_solswai = ctrl_out((/ 4, 10, 10, 10, 10 /),'solswai')341 type(ctrl_out),save :: o_topswad = ctrl_out((/ 2, 10, 10, 10, 10 /),'topswad') 342 type(ctrl_out),save :: o_topswai = ctrl_out((/ 2, 10, 10, 10, 10 /),'topswai') 343 type(ctrl_out),save :: o_solswad = ctrl_out((/ 2, 10, 10, 10, 10 /),'solswad') 344 type(ctrl_out),save :: o_solswai = ctrl_out((/ 2, 10, 10, 10, 10 /),'solswai') 345 345 346 346 type(ctrl_out),save,dimension(10) :: o_tausumaero = (/ ctrl_out((/ 4, 10, 10, 10, 10 /),'OD550_ASBCM'), & -
LMDZ4/trunk/libf/phylmd/sw_aeroAR4.F90
r1279 r1307 186 186 !$OMP THREADPRIVATE(AEROSOLFEEDBACK_ACTIVE) 187 187 188 CHARACTER (LEN=20) :: modname='sw_aeroAR4' 189 CHARACTER (LEN=80) :: abort_message 190 188 191 IF ((.not. ok_ade) .and. (AEROSOLFEEDBACK_ACTIVE .ge. 2)) THEN 189 print*,'Error: direct effect is not activated but assumed to be active - see sw_aeroAR4.F90'190 stop192 abort_message ='Error: direct effect is not activated but assumed to be active - see sw_aeroAR4.F90' 193 CALL abort_gcm (modname,abort_message,1) 191 194 ENDIF 192 195 AEROSOLFEEDBACK_ACTIVE=MIN(MAX(AEROSOLFEEDBACK_ACTIVE,0),3) 193 196 IF (AEROSOLFEEDBACK_ACTIVE .gt. 3) THEN 194 print*,'Error: AEROSOLFEEDBACK_ACTIVE options go only until 3'195 stop197 abort_message ='Error: AEROSOLFEEDBACK_ACTIVE options go only until 3' 198 CALL abort_gcm (modname,abort_message,1) 196 199 ENDIF 197 200 … … 238 241 239 242 ! clear sky is either computed IF no direct effect is asked for, or for extended diag) 240 IF (( lev_histmth . eq. 4 ) .or. ( .not. ok_ade )) THEN243 IF (( lev_histmth .ge. 4 ) .or. ( .not. ok_ade )) THEN 241 244 242 245 ! clear-sky: zero aerosol effect … … 267 270 268 271 ! cloudy sky is either computed IF no indirect effect is asked for, or for extended diag) 269 IF (( lev_histmth . eq. 4 ) .or. ( .not. ok_aie )) THEN272 IF (( lev_histmth .ge. 4 ) .or. ( .not. ok_aie )) THEN 270 273 ! cloudy-sky: zero aerosol effect 271 274 flag_aer=0.0 … … 326 329 327 330 ! cloudy sky is either computed IF no indirect effect is asked for, or for extended diag) 328 IF (( lev_histmth . eq. 4) .or. (.not. ok_aie)) THEN331 IF (( lev_histmth .ge. 2 ) .or. (.not. ok_aie)) THEN 329 332 ! cloudy-sky aerosol direct effect of total aerosol 330 333 flag_aer=1.0 … … 355 358 356 359 ! natural aeroosl clear sky is computed for extended diag) 357 IF ( lev_histmth . eq. 4 ) THEN360 IF ( lev_histmth .ge. 4 ) THEN 358 361 ! clear sky direct effect natural aerosol 359 362 flag_aer=1.0 … … 384 387 385 388 ! cloud sky natural is for extended diagnostics 386 IF ( lev_histmth . eq. 4) THEN389 IF ( lev_histmth .ge. 2 ) THEN 387 390 ! cloudy-sky direct effect natural aerosol 388 391 flag_aer=1.0
Note: See TracChangeset
for help on using the changeset viewer.