Ignore:
Timestamp:
Jul 22, 2024, 9:29:09 PM (4 months ago)
Author:
abarral
Message:

Replace most uses of CPP_DUST by the corresponding logical defined in lmdz_cppkeys_wrapper.F90
Convert several files from .F to .f90 to allow Dust to compile w/o rrtm/ecrad
Create lmdz_yoerad.f90
(lint) Remove "!" on otherwise empty line

File:
1 edited

Legend:

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

    r5081 r5099  
    367367!        14     No moist convection; atmosphere is very
    368368!               stable (=> no computation)
    369 !
    370369
    371370! ft:   Array of temperature tendency (K/s) of dimension ND, defined at same
     
    857856!   If the fraction of convective points is larger than comp_threshold, then compression
    858857!   is assumed useless.
    859 !
     858
    860859  compress = ncum < len*comp_threshold
    861 !
     860
    862861  IF (.not. compress) THEN
    863862    DO i = 1,len
     
    865864    ENDDO
    866865  ENDIF
    867 !
     866
    868867!>jyg
    869868        if (prt_level >= 9) &
     
    10961095!!                     wdtrainA, wdtrainM)                                       ! RomP
    10971096                     wdtrainA, wdtrainS, wdtrainM)                               !!jygprl
    1098 !
     1097
    10991098      IF (prt_level >= 10) THEN
    11001099        Print *, 'cva_driver after cv3_unsat:mp , water, ice, evap, fondue '
     
    11101109        ENDDO
    11111110      ENDIF
    1112 !
     1111
    11131112    END IF  !(iflag_con==3)
    11141113
     
    11521151!!                     ftd, fqd, qnk, qtc, sigt, tau_cld_cv, coefw_cld_cv)
    11531152                     ftd, fqd, qta, qtc, sigt, detrain, tau_cld_cv, coefw_cld_cv)         !!jygprl
    1154 !
     1153
    11551154!         Test conseravtion de l'eau
    1156 !
     1155
    11571156      IF (debut) THEN
    11581157        PRINT *, ' cv3_yield -> fqd(1) = ', fqd(igout, 1)
    11591158      END IF !(debut) THEN
    1160 !   
     1159
    11611160      IF (prt_level >= 10) THEN
    11621161        Print *, 'cva_driver after cv3_yield:ft(1) , ftd(1) ', &
     
    11651164                    fq(igout,1), fqd(igout,1)
    11661165      ENDIF
    1167 !   
     1166
    11681167    END IF
    11691168
     
    12351234                           wdtrainA1, wdtrainS1, wdtrainM1,                  & ! RomP
    12361235                           qtc1, sigt1, detrain1, epmax_diag1) ! epmax_cape
    1237 !   
     1236
    12381237      IF (prt_level >= 10) THEN
    12391238        Print *, 'cva_driver after cv3_uncompress:ft1(1) , ftd1(1) ', &
     
    12421241                    fq1(igout,1), fqd1(igout,1)
    12431242      ENDIF
    1244 !   
     1243
    12451244    END IF
    12461245
     
    12601259
    12611260  END IF ! ncum>0
    1262 !
    1263 !
     1261
     1262
    12641263  DO i = 1,len
    12651264    IF (iflag1(i) == 14) THEN
     
    12691268  ENDDO
    12701269
    1271 !
    12721270! In order take into account the possibility of changing the compression,
    12731271! reset m, sig and w0 to zero for non-convective points.
Note: See TracChangeset for help on using the changeset viewer.