Changeset 4623 for LMDZ6


Ignore:
Timestamp:
Jul 10, 2023, 9:53:26 AM (17 months ago)
Author:
fhourdin
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/cloudth_mod.F90

    r4617 r4623  
    2525
    2626      INCLUDE "YOMCST.h"
     27      INCLUDE "nuage.h" ! iflag_ratqs
    2728      INCLUDE "YOETHF.h"
    2829      INCLUDE "FCTTRE.h"
     
    3031      INTEGER itap,ind1,ind2
    3132      INTEGER ngrid,klev,klon,l,ig
    32 !ym      INTEGER iflag_ratqs
    3333     
    3434      REAL ztv(ngrid,klev)
     
    270270
    271271      INCLUDE "YOMCST.h"
     272      INCLUDE "nuage.h" ! iflag_ratqs
    272273      INCLUDE "YOETHF.h"
    273274      INCLUDE "FCTTRE.h"
     
    275276      INTEGER itap,ind1,ind2
    276277      INTEGER ngrid,klev,klon,l,ig
    277 !ym      INTEGER iflag_ratqs
    278278     
    279279      REAL ztv(ngrid,klev)
     
    610610
    611611      INCLUDE "YOMCST.h"
     612      INCLUDE "nuage.h" ! iflag ratq
    612613      INCLUDE "YOETHF.h"
    613614      INCLUDE "FCTTRE.h"
     
    615616      INTEGER itap,ind1,ind2
    616617      INTEGER ngrid,klev,klon,l,ig
    617 !ym      INTEGER iflag_ratqs
    618618     
    619619      REAL ztv(ngrid,klev)
     
    833833
    834834      INCLUDE "YOMCST.h"
     835      INCLUDE "nuage.h" ! iflag ratq
    835836      INCLUDE "YOETHF.h"
    836837      INCLUDE "FCTTRE.h"
     
    838839      INTEGER itap,ind1,ind2
    839840      INTEGER ngrid,klev,klon,l,ig
    840 !ym      INTEGER iflag_ratqs
    841841     
    842842      REAL ztv(ngrid,klev)
     
    10261026      ENDIF
    10271027      sigma1s = sigma1s_fraca + sigma1s_ratqs
    1028 !ym           IF (iflag_ratqs.eq.11) then
    1029 !ym              sigma1s = ratqs(ind1,ind2)*po(ind1)*aenv
    1030 !ym           ENDIF
     1028      IF (iflag_ratqs.eq.11) then
     1029         sigma1s = ratqs(ind1,ind2)*po(ind1)*aenv
     1030      ENDIF
    10311031      sigma2s=(sigma2s_factor*(((sth-senv)**2)**0.5)/((fraca(ind1,ind2)+0.02)**sigma2s_power))+0.002*zqta(ind1,ind2)
    10321032!      tests
     
    15661566
    15671567      INCLUDE "YOMCST.h"
     1568      INCLUDE "nuage.h" ! iflag_ratqs
    15681569      INCLUDE "YOETHF.h"
    15691570      INCLUDE "FCTTRE.h"
     
    19021903 
    19031904           sigma1s = sigma1s_fraca + sigma1s_ratqs
    1904 !ym           IF (iflag_ratqs.eq.11) then
    1905 !ym              sigma1s = ratqs(ind1,ind2)*po(ind1)*aenv
    1906 !ym           ENDIF
     1905           IF (iflag_ratqs.eq.11) then
     1906              sigma1s = ratqs(ind1,ind2)*po(ind1)*aenv
     1907           ENDIF
    19071908           sigma2s=(sigma2s_factor*(((sth-senv)**2)**0.5)/((fraca(ind1,ind2)+0.02)**sigma2s_power))+0.002*zqta(ind1,ind2)
    19081909
     
    21472148
    21482149            sigma1s = sigma1s_fraca + sigma1s_ratqs
    2149 !ym           IF (iflag_ratqs.eq.11) then
    2150 !ym              sigma1s = ratqs(ind1,ind2)*po(ind1)*aenv
    2151 !ym           ENDIF
    2152 !ym           IF (iflag_ratqs.eq.11) then
    2153 !ym             sigma1s = ratqs(ind1,ind2)*po(ind1)*aenvl
    2154 !ym           ENDIF
     2150            IF (iflag_ratqs.eq.11) then
     2151               sigma1s = ratqs(ind1,ind2)*po(ind1)*aenv
     2152            ENDIF
     2153            IF (iflag_ratqs.eq.11) then
     2154              sigma1s = ratqs(ind1,ind2)*po(ind1)*aenvl
     2155            ENDIF
    21552156            deltasenv=aenvl*vert_alpha*sigma1s
    21562157            xenv1=-(senvl+deltasenv)/(sqrt(2.)*sigma1s)
Note: See TracChangeset for help on using the changeset viewer.