Changeset 2529 for LMDZ5/trunk/libf/phylmd/rrtm
- Timestamp:
- May 30, 2016, 10:46:40 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/rrtm/recmwf_aero.F90
r2146 r2529 161 161 IMPLICIT NONE 162 162 INCLUDE "clesphys.h" 163 164 163 165 164 INTEGER(KIND=JPIM),INTENT(IN) :: KPROMA … … 306 305 ! not ok_ade and not ok_aie = 1 to proceed 307 306 ! therefore the cases have the following corresponding switches 308 ! 1 = not ok_ade or not ok_aie309 ! 2 = ok_aie310 ! 3 = ok_ade 307 ! 1 = not ok_ade and not ok_aie OR not ok_ade and ok_aie and swaero_diag OR ok_ade and not ok_aie and swaero_diag 308 ! 2 = not ok_ade and ok_aie OR ok_aie and ok_ade and swaero_diag 309 ! 3 = ok_ade and not ok_aie OR ok_aie and ok_ade and swaero_diag 311 310 ! 4 = ok_ade and ok_aie 312 311 ! 5 = no aerosol feedback wanted or no aerosol at all … … 445 444 IF (flag_aerosol .GT. 0 .OR. flag_aerosol_strat) THEN 446 445 447 IF ( .not. ok_ade .or. .not. ok_aie ) THEN 446 !--Case 1 447 IF ( ( .not. ok_ade .AND. .not. ok_aie ) .OR. & 448 & ( .not. ok_ade .AND. ok_aie .AND. swaero_diag ) .OR. & 449 & ( ok_ade .AND. .not. ok_aie .AND. swaero_diag ) ) THEN 448 450 449 451 ! natural aerosols for direct and indirect effect … … 483 485 ENDIF 484 486 485 IF (ok_aie) THEN 487 !--Case 2 488 IF ( ( .not. ok_ade .AND. ok_aie ) .OR. & 489 & ( ok_ade .AND. ok_aie .AND. swaero_diag ) ) THEN 486 490 487 491 ! natural aerosols for direct indirect effect … … 521 525 ENDIF ! ok_aie 522 526 523 IF (ok_ade) THEN 527 !--Case 3 528 IF ( ( ok_ade .AND. .not. ok_aie ) .OR. & 529 & ( ok_ade .AND. ok_aie .AND. swaero_diag ) ) THEN 524 530 525 531 ! direct effect of total aerosol activated … … 559 565 ENDIF !-end ok_ade 560 566 567 !--Case 4 561 568 IF (ok_ade .and. ok_aie) THEN 562 569
Note: See TracChangeset
for help on using the changeset viewer.