Changeset 5159 for LMDZ6/branches/Amaury_dev/libf/phylmd/rrtm/gfl_subs.F90
- Timestamp:
- Aug 2, 2024, 9:58:25 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/rrtm/gfl_subs.F90
r2010 r5159 582 582 583 583 !SUBROUTINE DEACT_CLOUD_GFL ! commente par MPL 10.12.08 (et REACT_CLOUD_GFL) 584 ! 584 585 585 !**** *DEACT_CLOUD_GFL* Deactivate prognostic cloud variables 586 ! 586 587 587 ! ------------------------------------------------------------------ 588 ! 588 589 589 !INTEGER(KIND=JPIM) :: JGFL 590 590 !REAL(KIND=JPRB) :: ZHOOK_HANDLE 591 ! 591 592 592 !#include "suslb.intfb.h" 593 ! 593 594 594 !IF (LHOOK) CALL DR_HOOK('GFL_SUBS:DEACT_CLOUD_GFL',0,ZHOOK_HANDLE) 595 ! 595 596 596 !IF (.NOT.L_CLD_DEACT .AND. & 597 597 ! & (YL%LACTIVE .OR. YI%LACTIVE .OR. & … … 611 611 ! IF (YA%LGP) YGFL%NUMGPFLDS=YGFL%NUMGPFLDS-1 612 612 ! IF (YCPF%LGP) YGFL%NUMGPFLDS=YGFL%NUMGPFLDS-1 613 ! 613 614 614 ! IF (YL%LT5) YGFL%NUMFLDS5=YGFL%NUMFLDS5-1 615 615 ! IF (YI%LT5) YGFL%NUMFLDS5=YGFL%NUMFLDS5-1 … … 618 618 ! IF (YA%LT5) YGFL%NUMFLDS5=YGFL%NUMFLDS5-1 619 619 ! IF (YCPF%LT5) YGFL%NUMFLDS5=YGFL%NUMFLDS5-1 620 ! 620 621 621 ! CALL FALSIFY_GFLC(YL) 622 622 ! CALL FALSIFY_GFLC(YI) … … 643 643 ! ENDDO 644 644 ! CALL SUSLB 645 ! 645 646 646 ! L_CLD_DEACT=.TRUE. 647 647 ! WRITE(NULOUT,*)' CLOUD FIELDS DE-ACTIVATAD, YGFL%NUMGPFLDS=', & 648 648 ! & YGFL%NUMGPFLDS,' YGFL%NUMFLDS_SL1=', YGFL%NUMFLDS_SL1 649 649 !ENDIF 650 ! 650 651 651 !IF (LHOOK) CALL DR_HOOK('GFL_SUBS:DEACT_CLOUD_GFL',1,ZHOOK_HANDLE) 652 ! 652 653 653 !END SUBROUTINE DEACT_CLOUD_GFL 654 ! 654 655 655 !!========================================================================= 656 ! 656 657 657 !SUBROUTINE REACT_CLOUD_GFL 658 658 !!**** *REACT_CLOUD_GFL* Reactivate prognostic cloud variables 659 ! 659 660 660 !INTEGER(KIND=JPIM) :: JGFL 661 661 !REAL(KIND=JPRB) :: ZHOOK_HANDLE … … 664 664 !! ------------------------------------------------------------------ 665 665 !IF (LHOOK) CALL DR_HOOK('GFL_SUBS:REACT_CLOUD_GFL',0,ZHOOK_HANDLE) 666 ! 666 667 667 !IF (L_CLD_DEACT) THEN 668 668 ! LLGPL = YL%LGP … … 673 673 ! CALL COPY_GFLC_GFLC(YI,YI_SAVE) 674 674 ! CALL COPY_GFLC_GFLC(YA,YA_SAVE) 675 ! 675 676 676 ! IF (.NOT. LLGPL .AND. YL%LGP) YGFL%NUMGPFLDS=YGFL%NUMGPFLDS+1 677 677 ! IF (.NOT. LLGPI .AND. YI%LGP) YGFL%NUMGPFLDS=YGFL%NUMGPFLDS+1 678 678 ! IF (.NOT. LLGPA .AND. YA%LGP) YGFL%NUMGPFLDS=YGFL%NUMGPFLDS+1 679 ! 679 680 680 ! YGFL%NUMFLDS_SL1 = 0 681 681 ! DO JGFL=1,YGFL%NUMFLDS … … 688 688 ! ENDDO 689 689 ! CALL SUSLB 690 ! 690 691 691 ! L_CLD_DEACT=.FALSE. 692 692 ! WRITE(NULOUT,*)' CLOUD FIELDS RE-ACTIVATAD, YGFL%NUMGPFLDS=', & 693 693 ! & YGFL%NUMGPFLDS,' YGFL%NUMFLDS_SL1=', YGFL%NUMFLDS_SL1 694 694 !ENDIF 695 ! 695 696 696 !IF (LHOOK) CALL DR_HOOK('GFL_SUBS:REACT_CLOUD_GFL',1,ZHOOK_HANDLE) 697 ! 697 698 698 !! ------------------------------------------------------------------ 699 699 !END SUBROUTINE REACT_CLOUD_GFL
Note: See TracChangeset
for help on using the changeset viewer.