Ignore:
Timestamp:
Aug 28, 2023, 4:34:20 PM (2 years ago)
Author:
fhourdin
Message:

Pre-replayisation pour cloudth

Cration de lmdz_cloudth_ini
cloudth_mod.F90 -> lmdz_cloudth.F90
Supression des constantes dans lmdz_cloudth
En fait, cloudth lui même n'est pas vraiment replayisable car appeler ligne par ligne.

Location:
LMDZ6/trunk/libf/phylmdiso
Files:
1 added
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmdiso/fisrtilp.F90

    r4535 r4651  
    2020  USE icefrac_lsc_mod ! compute ice fraction (JBM 3/14)
    2121  USE print_control_mod, ONLY: prt_level, lunout
    22   USE cloudth_mod
     22  USE lmdz_cloudth, only : cloudth, cloudth_v3, cloudth_v6
    2323  USE ioipsl_getin_p_mod, ONLY : getin_p
    2424  USE phys_local_var_mod, ONLY: ql_seri,qs_seri
     
    3131  USE lscp_ini_mod, ONLY: cld_tau_lsc, cld_tau_con, cld_lc_lsc, cld_lc_con
    3232  USE lscp_ini_mod, ONLY: reevap_ice, iflag_bergeron, iflag_fisrtilp_qsat, iflag_pdf
     33      use phys_output_var_mod, ONLY : cloudth_sth,cloudth_senv
     34      use phys_output_var_mod, ONLY : cloudth_sigmath,cloudth_sigmaenv
     35
    3336
    3437
     
    11241127                   zq,zqta,fraca, &
    11251128                   qcloud,ctot,zpspsk,paprs,pplay,ztla,zthl, &
    1126                    ratqs,zqs,t)
     1129                   ratqs,zqs,t, &
     1130                   cloudth_sth,cloudth_senv,cloudth_sigmath,cloudth_sigmaenv)
     1131
    11271132              elseif (iflag_cloudth_vert>=3 .and. iflag_cloudth_vert<=5) then
    11281133               call cloudth_v3(klon,klev,k,ztv, &
    11291134                   zq,zqta,fraca, &
    11301135                   qcloud,ctot,ctot_vol,zpspsk,paprs,pplay,ztla,zthl, &
    1131                    ratqs,zqs,t)
     1136                   ratqs,zqs,t, &
     1137                   cloudth_sth,cloudth_senv,cloudth_sigmath,cloudth_sigmaenv)
     1138
    11321139              !----------------------------------
    11331140              !Version these Jean Jouhaud, Decembre 2018
     
    11371144                   zq,zqta,fraca, &
    11381145                   qcloud,ctot,ctot_vol,zpspsk,paprs,pplay,ztla,zthl, &
    1139                    ratqs,zqs,t)
     1146                   ratqs,zqs,t, &
     1147                   cloudth_sth,cloudth_senv,cloudth_sigmath,cloudth_sigmaenv)
     1148
    11401149
    11411150              endif
  • LMDZ6/trunk/libf/phylmdiso/lmdz_cloudth.F90

    r4650 r4651  
    1 link ../phylmd/cloudth_mod.F90
     1link ../phylmd/lmdz_cloudth.F90
  • LMDZ6/trunk/libf/phylmdiso/physiq_mod.F90

    r4639 r4651  
    8787    USE lmdz_ratqs_main, ONLY : ratqs_main
    8888    USE lmdz_ratqs_ini, ONLY : ratqs_ini
     89    USE phys_output_var_mod, ONLY :      cloudth_sth,cloudth_senv,cloudth_sigmath,cloudth_sigmaenv
     90
    8991
    9092    !USE cmp_seri_mod
     
    19191921   &    RG,RD,RCPD,RKAPPA,RLVTT,RETV)
    19201922       CALL ratqs_ini(klon,klev,iflag_thermals,lunout,nbsrf,is_lic,is_ter,RG,RV,RD,RCPD,RLSTT,RLVTT,RTT)
    1921        CALL lscp_ini(pdtphys,ok_ice_sursat,RCPD, RLSTT, RLVTT, RLMLT, RVTMP2, RTT,RD,RG)
     1923       CALL lscp_ini(pdtphys,ok_ice_sursat,iflag_ratqs,RCPD, RLSTT, RLVTT, RLMLT, RVTMP2, RTT,RD,RG)
    19221924       CALL blowing_snow_ini(prt_level,lunout, &
    19231925                             RCPD, RLSTT, RLVTT, RLMLT, &
     
    48084810         iflag_ice_thermo, ok_ice_sursat, zqsatl, zqsats, distcltop, temp_cltop, &
    48094811         qclr, qcld, qss, qvc, rnebclr, rnebss, gamma_ss, &
    4810          Tcontr, qcontr, qcontr2, fcontrN, fcontrP )
     4812         Tcontr, qcontr, qcontr2, fcontrN, fcontrP , &
     4813         cloudth_sth,cloudth_senv,cloudth_sigmath,cloudth_sigmaenv)
     4814
    48114815
    48124816    ELSE
Note: See TracChangeset for help on using the changeset viewer.