Changeset 6107 for LMDZ6/trunk/libf


Ignore:
Timestamp:
Mar 17, 2026, 1:41:15 AM (13 days ago)
Author:
fhourdin
Message:

Deplacement d'initialisations dans physiq_mod

Location:
LMDZ6/trunk/libf
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/lmdz_call_lscp.f90

    r6089 r6107  
    305305      ELSE
    306306
    307          ! old (pre-cmip7) code
    308          !$gpum nocall
    309          CALL fisrtilp_first(klon, klev, dtime, pfrac_impa, pfrac_nucl, pfrac_1nucl)
    310 
    311307         CALL fisrtilp(klon, klev, dtime, paprs, pplay, &
    312308                       temp, qt, ptconv, ratqs, sigma_qtherm, &
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r6106 r6107  
    5656    USE assert_m, only: assert
    5757    USE change_srf_frac_mod
     58    USE lmdz_lscp_old, ONLY: fisrtilp_first
     59
    5860
    5961    USE conf_phys_m, ONLY : conf_phys
     
    11791181    !======================================================================!
    11801182    if (debut) then                                                        !
    1181        print*,'DEBUT PHYSIQ_MOD TRAVAIL DEBUT 2'
     1183       print*,'DEBUT PHYSIQ_MOD TRAVAIL DEBUT 5'
    11821184       iflag_physiq=0
    11831185       call getin_p('iflag_physiq', iflag_physiq)                          !
     
    17221724       CALL thermcell_ini(iflag_thermals,prt_level,tau_thermals,lunout, &
    17231725            &    RG,RD,RCPD,RKAPPA,RLVTT,RETV)
     1726       IF (iflag_thermals>=1) THEN
     1727          CALL alpale_th_first()
     1728       ENDIF
     1729
    17241730       CALL lscp_ini(pdtphys,klon,klev,iflag_thermals,iflag_cld_th,iflag_ice_thermo, &
    17251731                  lunout,prt_level,ok_ice_supersat,fl_cor_ebil,                       &
    17261732                  RCPD,RLSTT,RLVTT,RLMLT,RVTMP2,RTT,RD,RV,RG,RPI,EPS_W)
     1733       IF (ok_new_lscp) THEN
     1734           ! old (pre-cmip7) code
     1735           !$gpum nocall
     1736           CALL fisrtilp_first(klon, klev, pdtphys, pfrac_impa, pfrac_nucl, pfrac_1nucl)
     1737       ENDIF
     1738
    17271739       CALL blosno_ini(RCPD, RLSTT, RLVTT, RLMLT, RVTMP2, RTT,RD,RG, RV, RPI)
    17281740       CALL gwd_ini(klon, klev, pplay, paprs, lunout, prt_level, RCPD, RD, RG, RPI, &
     
    18951907             CALL ini_wake(0.,0.,it_wape_prescr,wape_prescr,fip_prescr &
    18961908                  ,alp_bl_prescr, ale_bl_prescr)
     1909             CALL calWAKE_first(phys_tstep)
    18971910             ! 11/09/06 rajout initialisation ALE et ALP du wake et PBL(YU)
    18981911             !        print*,'apres ini_wake iflag_cld_th=', iflag_cld_th
     
    19141927             d_dens_wk(:) = 0.
    19151928             d_dens_a_wk(:) = 0.
     1929
     1930             IF (iflag_alp_wk_cond .GT. 0.) THEN
     1931                CALL alpale_wk_first(cell_area)
     1932             ENDIF
     1933
    19161934          ENDIF  !  (iflag_wake>=1)
    19171935
     
    35003518       IF (iflag_alp_wk_cond .GT. 0.) THEN
    35013519
    3502           CALL alpale_wk_first(cell_area)
    35033520          CALL alpale_wk(phys_tstep, cell_area, wake_k, wake_s, wake_dens, wake_fip_0, &
    35043521               wake_fip)
     
    35643581       ENDDO
    35653582       !cc fin nrlmd le 10/04/2012
     3583
    35663584
    35673585       IF (iflag_thermals>=1) THEN
     
    36843702          !
    36853703          !
    3686           CALL alpale_th_first()
    36873704          CALL alpale_th( phys_tstep, lmax_th, t_seri, cell_area,  &
    36883705               cin, s2, n2, strig, &
  • LMDZ6/trunk/libf/phylmdiso/physiq_mod.F90

    r6106 r6107  
    12581258    !======================================================================!
    12591259    IF (debut) THEN                                                        !
     1260       print*,'DEBUT PHYSIQ_MOD ISO TRAVAIL DEBUT 5'
    12601261       iflag_physiq=0                                                      !
    12611262       CALL getin_p('iflag_physiq', iflag_physiq)                          !
     
    18381839       CALL thermcell_ini(iflag_thermals,prt_level,tau_thermals,lunout, &
    18391840            &    RG,RD,RCPD,RKAPPA,RLVTT,RETV)
     1841       IF (iflag_thermals>=1) THEN
     1842          CALL alpale_th_first()
     1843       ENDIF
     1844
    18401845       CALL lscp_ini(pdtphys,klon,klev,iflag_thermals,iflag_cld_th,iflag_ice_thermo, &
    18411846                  lunout,prt_level,ok_ice_supersat,fl_cor_ebil,                       &
    18421847                  RCPD,RLSTT,RLVTT,RLMLT,RVTMP2,RTT,RD,RV,RG,RPI,EPS_W)
     1848       IF (ok_new_lscp) THEN
     1849           ! old (pre-cmip7) code
     1850           !$gpum nocall
     1851           CALL fisrtilp_first(klon, klev, pdtphys, pfrac_impa, pfrac_nucl, pfrac_1nucl)
     1852       ENDIF
     1853
    18431854       CALL blosno_ini(RCPD, RLSTT, RLVTT, RLMLT, RVTMP2, RTT,RD,RG, RV, RPI)
    18441855       CALL gwd_ini(klon, klev, pplay, paprs, lunout, prt_level, RCPD, RD, RG, RPI, ROMEGA, RA, RKAPPA, RLVTT, ok_strato)
     
    20282039             CALL ini_wake(0.,0.,it_wape_prescr,wape_prescr,fip_prescr &
    20292040                  ,alp_bl_prescr, ale_bl_prescr)
     2041             CALL calWAKE_first(phys_tstep)
     2042
    20302043             ! 11/09/06 rajout initialisation ALE et ALP du wake et PBL(YU)
    20312044             !        print*,'apres ini_wake iflag_cld_th=', iflag_cld_th
     
    20532066             d_deltaxt_ajs_cv(:,:,:) = 0.
    20542067#endif
     2068             IF (iflag_alp_wk_cond .GT. 0.) THEN
     2069                CALL alpale_wk_first(cell_area)
     2070             ENDIF
     2071
     2072
    20552073          ENDIF  !  (iflag_wake>=1)
    20562074
     
    43524370        !
    43534371        !calcul caracteristiques de la poche froide
    4354         CALL calWAKE_first(phys_tstep)
    43554372        CALL calWAKE (iflag_wake_tend, paprs, pplay, phys_tstep, &
    43564373               t_seri, q_seri, omega,  &
     
    44254442      IF (iflag_alp_wk_cond .GT. 0.) THEN
    44264443
    4427         CALL alpale_wk_first(cell_area)
    44284444        CALL alpale_wk(phys_tstep, cell_area, wake_k, wake_s, wake_dens, wake_fip_0, &
    44294445                        wake_fip)
     
    47524768          !
    47534769!
    4754           CALL alpale_th_first()
    47554770          CALL alpale_th( phys_tstep, lmax_th, t_seri, cell_area,  &
    47564771                          cin, s2, n2, strig, &
Note: See TracChangeset for help on using the changeset viewer.