Ignore:
Timestamp:
Aug 2, 2024, 9:58:25 PM (3 months ago)
Author:
abarral
Message:

Put dimensions.h and paramet.h into modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/rrtm/gfl_subs.F90

    r2010 r5159  
    582582
    583583!SUBROUTINE DEACT_CLOUD_GFL  ! commente par MPL 10.12.08 (et REACT_CLOUD_GFL)
    584 !
     584
    585585!**** *DEACT_CLOUD_GFL* Deactivate prognostic cloud variables
    586 !
     586
    587587!     ------------------------------------------------------------------
    588 !
     588
    589589!INTEGER(KIND=JPIM) :: JGFL
    590590!REAL(KIND=JPRB) :: ZHOOK_HANDLE
    591 !
     591
    592592!#include "suslb.intfb.h"
    593 !
     593
    594594!IF (LHOOK) CALL DR_HOOK('GFL_SUBS:DEACT_CLOUD_GFL',0,ZHOOK_HANDLE)
    595 !
     595
    596596!IF (.NOT.L_CLD_DEACT .AND. &
    597597! & (YL%LACTIVE .OR. YI%LACTIVE .OR. &
     
    611611!    IF (YA%LGP) YGFL%NUMGPFLDS=YGFL%NUMGPFLDS-1
    612612!    IF (YCPF%LGP) YGFL%NUMGPFLDS=YGFL%NUMGPFLDS-1
    613 !
     613
    614614!    IF (YL%LT5) YGFL%NUMFLDS5=YGFL%NUMFLDS5-1
    615615!    IF (YI%LT5) YGFL%NUMFLDS5=YGFL%NUMFLDS5-1
     
    618618!    IF (YA%LT5) YGFL%NUMFLDS5=YGFL%NUMFLDS5-1
    619619!    IF (YCPF%LT5) YGFL%NUMFLDS5=YGFL%NUMFLDS5-1
    620 !
     620
    621621!    CALL FALSIFY_GFLC(YL)
    622622!    CALL FALSIFY_GFLC(YI)
     
    643643! ENDDO
    644644! CALL SUSLB
    645 !
     645
    646646! L_CLD_DEACT=.TRUE.
    647647! WRITE(NULOUT,*)' CLOUD FIELDS DE-ACTIVATAD, YGFL%NUMGPFLDS=', &
    648648! & YGFL%NUMGPFLDS,' YGFL%NUMFLDS_SL1=', YGFL%NUMFLDS_SL1
    649649!ENDIF
    650 !
     650
    651651!IF (LHOOK) CALL DR_HOOK('GFL_SUBS:DEACT_CLOUD_GFL',1,ZHOOK_HANDLE)
    652 !
     652
    653653!END SUBROUTINE DEACT_CLOUD_GFL
    654 !
     654
    655655!!=========================================================================
    656 !
     656
    657657!SUBROUTINE REACT_CLOUD_GFL
    658658!!**** *REACT_CLOUD_GFL* Reactivate prognostic cloud variables
    659 !
     659
    660660!INTEGER(KIND=JPIM) :: JGFL
    661661!REAL(KIND=JPRB) :: ZHOOK_HANDLE
     
    664664!!     ------------------------------------------------------------------
    665665!IF (LHOOK) CALL DR_HOOK('GFL_SUBS:REACT_CLOUD_GFL',0,ZHOOK_HANDLE)
    666 !
     666
    667667!IF (L_CLD_DEACT) THEN
    668668!  LLGPL = YL%LGP
     
    673673!  CALL COPY_GFLC_GFLC(YI,YI_SAVE)
    674674!  CALL COPY_GFLC_GFLC(YA,YA_SAVE)
    675 !
     675
    676676!  IF (.NOT. LLGPL .AND. YL%LGP) YGFL%NUMGPFLDS=YGFL%NUMGPFLDS+1
    677677!  IF (.NOT. LLGPI .AND. YI%LGP) YGFL%NUMGPFLDS=YGFL%NUMGPFLDS+1
    678678!  IF (.NOT. LLGPA .AND. YA%LGP) YGFL%NUMGPFLDS=YGFL%NUMGPFLDS+1
    679 !
     679
    680680!  YGFL%NUMFLDS_SL1 = 0
    681681!  DO JGFL=1,YGFL%NUMFLDS
     
    688688!  ENDDO
    689689!  CALL SUSLB
    690 !
     690
    691691!  L_CLD_DEACT=.FALSE.
    692692!  WRITE(NULOUT,*)' CLOUD FIELDS RE-ACTIVATAD, YGFL%NUMGPFLDS=', &
    693693!  & YGFL%NUMGPFLDS,' YGFL%NUMFLDS_SL1=', YGFL%NUMFLDS_SL1
    694694!ENDIF
    695 !
     695
    696696!IF (LHOOK) CALL DR_HOOK('GFL_SUBS:REACT_CLOUD_GFL',1,ZHOOK_HANDLE)
    697 !
     697
    698698!!     ------------------------------------------------------------------
    699699!END SUBROUTINE REACT_CLOUD_GFL
Note: See TracChangeset for help on using the changeset viewer.