Ignore:
Timestamp:
Dec 23, 2024, 6:12:29 PM (40 hours ago)
Author:
aborella
Message:

First implementation of the contrails parameterisation
Lacks the emission of H2O + the impact on radiative transfer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/contrails/libf/phylmd/phys_local_var_mod.F90

    r5431 r5452  
    665665
    666666!-- LSCP - aviation and contrails variables
    667       REAL, SAVE, ALLOCATABLE :: Tcontr(:,:), qcontr(:,:), qcontr2(:,:)
    668       !$OMP THREADPRIVATE(Tcontr, qcontr, qcontr2)
    669       REAL, SAVE, ALLOCATABLE :: fcontrN(:,:), fcontrP(:,:)
    670       !$OMP THREADPRIVATE(fcontrN, fcontrP)
     667      REAL, SAVE, ALLOCATABLE :: rcont_seri(:,:), d_rcont_dyn(:,:)
     668      !$OMP THREADPRIVATE(rcont_seri, d_rcont_dyn)
     669      REAL, SAVE, ALLOCATABLE :: flight_dist(:,:), flight_h2o(:,:)
     670      !$OMP THREADPRIVATE(flight_dist, flight_h2o)
     671      REAL, SAVE, ALLOCATABLE :: Tcritcont(:,:), qcritcont(:,:)
     672      !$OMP THREADPRIVATE(Tcritcont, qcritcont)
     673      REAL, SAVE, ALLOCATABLE :: potcontfraP(:,:), potcontfraNP(:,:)
     674      !$OMP THREADPRIVATE(potcontfraP, potcontfraNP)
    671675      REAL, SAVE, ALLOCATABLE :: dcf_avi(:,:), dqi_avi(:,:), dqvc_avi(:,:)
    672676      !$OMP THREADPRIVATE(dcf_avi, dqi_avi, dqvc_avi)
    673       REAL, SAVE, ALLOCATABLE :: flight_dist(:,:), flight_h2o(:,:)
    674       !$OMP THREADPRIVATE(flight_dist, flight_h2o)
    675677
    676678!-- LSCP - mixed phase clouds variables
     
    12131215
    12141216!-- LSCP - aviation and contrails variables
    1215       ALLOCATE(Tcontr(klon,klev), qcontr(klon,klev), qcontr2(klon,klev))
    1216       ALLOCATE(fcontrN(klon,klev), fcontrP(klon,klev))
     1217      ALLOCATE(rcont_seri(klon,klev), d_rcont_dyn(klon,klev))
     1218      ALLOCATE(flight_dist(klon,klev), flight_h2o(klon,klev))
     1219      ALLOCATE(Tcritcont(klon,klev), qcritcont(klon,klev))
     1220      ALLOCATE(potcontfraP(klon,klev), potcontfraNP(klon,klev))
    12171221      ALLOCATE(dcf_avi(klon,klev), dqi_avi(klon,klev), dqvc_avi(klon,klev))
    1218       ALLOCATE(flight_dist(klon,klev), flight_h2o(klon,klev))
    12191222
    12201223!-- LSCP - POPRECIP variables
     
    16181621
    16191622!-- LSCP - aviation and contrails variables
    1620       DEALLOCATE(Tcontr, qcontr, qcontr2)
    1621       DEALLOCATE(fcontrN, fcontrP)
     1623      DEALLOCATE(rcont_seri, d_rcont_dyn, flight_dist, flight_h2o)
     1624      DEALLOCATE(Tcritcont, qcritcont, potcontfraP, potcontfraNP)
    16221625      DEALLOCATE(dcf_avi, dqi_avi, dqvc_avi)
    1623       DEALLOCATE(flight_dist, flight_h2o)
    16241626
    16251627!-- LSCP - POPRECIP variables
Note: See TracChangeset for help on using the changeset viewer.