Ignore:
Timestamp:
Jun 7, 2024, 6:24:38 PM (8 months ago)
Author:
idelkadi
Message:

Error correction introduced in previous version

Location:
LMDZ6/trunk/libf/phylmd
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/ecrad/lmdz/readaerosol_optic_ecrad.F90

    r4853 r4976  
    44     flag_aerosol, flag_bc_internal_mixture, itap, rjourvrai, &
    55     pdtphys, pplay, paprs, t_seri, rhcl, presnivs, &
    6      tr_seri, mass_solu_aero, mass_solu_aero_pi)
     6     tr_seri, mass_solu_aero, mass_solu_aero_pi, m_allaer)
    77!     tau_aero, piz_aero, cg_aero, &
    88!     tausum_aero, drytausum_aero, tau3d_aero )
     
    1818       concso4,concno3,concoa,concbc,concss,concdust,loadso4,loadoa,loadbc,loadss,loaddust, &
    1919       loadno3,load_tmp1,load_tmp2,load_tmp3,load_tmp4,load_tmp5,load_tmp6,load_tmp7, &
    20        load_tmp8,load_tmp9,load_tmp10,m_allaer
     20       load_tmp8,load_tmp9,load_tmp10
    2121
    2222  USE infotrac_phy, ONLY: tracers, nqtot, nbtr
     
    4949  REAL, DIMENSION(klon,klev), INTENT(OUT)     :: mass_solu_aero    ! Total mass for all soluble aerosols
    5050  REAL, DIMENSION(klon,klev), INTENT(OUT)     :: mass_solu_aero_pi !     -"-     preindustrial values
     51  REAL, DIMENSION(klon,klev,naero_tot), INTENT(OUT) :: m_allaer
     52  REAL, DIMENSION(klon,klev,naero_tot), INTENT(OUT) :: m_allaer_pi !RAF
    5153!  REAL, DIMENSION(klon,klev,2,NSW), INTENT(OUT) :: tau_aero    ! Aerosol optical thickness
    5254!  REAL, DIMENSION(klon,klev,2,NSW), INTENT(OUT) :: piz_aero    ! Single scattering albedo aerosol
     
    8688  REAL, DIMENSION(klon,klev)   :: nitrinscoarse_pi
    8789  REAL, DIMENSION(klon,klev)   :: pdel, zrho
    88 !  REAL, DIMENSION(klon,klev,naero_tot) :: m_allaer
    89   REAL, DIMENSION(klon,klev,naero_tot) :: m_allaer_pi !RAF 
    9090
    9191  integer :: id_ASBCM, id_ASPOMM, id_ASSO4M, id_ASMSAM, id_CSSO4M, id_CSMSAM, id_SSSSM
  • LMDZ6/trunk/libf/phylmd/phys_state_var_mod.F90

    r4973 r4976  
    474474      REAL,SAVE,ALLOCATABLE :: ccm(:,:,:)
    475475!$OMP THREADPRIVATE(ccm)
    476       REAL, SAVE, ALLOCATABLE :: m_allaer (:,:,:)
    477 !$OMP THREADPRIVATE(m_allaer)
    478476
    479477      REAL,SAVE,ALLOCATABLE :: ale_bl_trig(:)
     
    754752      ALLOCATE(cg_aero_lw_rrtm(klon,klev,2,nbands_lw_rrtm))
    755753      ALLOCATE(ccm(klon,klev,nbands))
    756       ALLOCATE(m_allaer(klon,klev,naero_tot))
    757754
    758755#ifdef ISO
     
    939936      DEALLOCATE(tau_aero_lw_rrtm,piz_aero_lw_rrtm,cg_aero_lw_rrtm)
    940937      DEALLOCATE(ccm)
    941       DEALLOCATE(m_allaer)
    942938      if (ok_gwd_rando) DEALLOCATE(du_gwd_rando)
    943939      if (.not. ok_hines .and. ok_gwd_rando) DEALLOCATE(du_gwd_front)
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r4952 r4976  
    11271127    REAL, DIMENSION(klon,klev)     :: mass_solu_aero_pi
    11281128    ! - " - (pre-industrial value)
     1129    REAL, DIMENSION(klon,klev,naero_tot) :: m_allaer
    11291130
    11301131    ! Parameters
     
    43754376                  flag_aerosol, flag_bc_internal_mixture, itap, jD_cur-jD_ref, &
    43764377                  pdtphys, pplay, paprs, t_seri, rhcl, presnivs,  &
    4377                   tr_seri, mass_solu_aero, mass_solu_aero_pi
     4378                  tr_seri, mass_solu_aero, mass_solu_aero_pi, m_allaer
    43784379#else
    43794380                abort_message='You should compile with -rad ecrad if running with iflag_rrtm=2'
     
    46214622               ! Rajoute par OB pour RRTM
    46224623               tau_aero_lw_rrtm, &
    4623                cldtaupirad, &
     4624               cldtaupirad, m_allaer, &
    46244625!              zqsat, flwcrad, fiwcrad, &
    46254626               zqsat, flwc, fiwc, &
     
    46994700                                ! Rajoute par OB pour RRTM
    47004701                     tau_aero_lw_rrtm, &
    4701                      cldtaupi, &
     4702                     cldtaupi, m_allaer, &
    47024703!                    zqsat, flwcrad, fiwcrad, &
    47034704                     zqsat, flwc, fiwc, &
     
    47454746                     tau_aero_sw_rrtm, piz_aero_sw_rrtm, cg_aero_sw_rrtm, &
    47464747                     tau_aero_lw_rrtm, &
    4747                      cldtaupi, &
     4748                     cldtaupi, m_allaer, &
    47484749                     zqsat, flwc, fiwc, &
    47494750                     ref_liq, ref_ice, ref_liq_pi, ref_ice_pi, &
  • LMDZ6/trunk/libf/phylmd/radlwsw_m.F90

    r4973 r4976  
    2121       tau_aero_sw_rrtm, piz_aero_sw_rrtm, cg_aero_sw_rrtm,& ! rajoute par OB RRTM
    2222       tau_aero_lw_rrtm, &              ! rajoute par C.Kleinschmitt pour RRTM
    23        cldtaupi, &
     23       cldtaupi, m_allaer, &
    2424       qsat, flwc, fiwc, &
    2525       ref_liq, ref_ice, ref_liq_pi, ref_ice_pi, &
     
    8181#ifdef CPP_ECRAD
    8282    USE geometry_mod, ONLY: latitude, longitude
    83     USE phys_state_var_mod, ONLY: pctsrf, m_allaer
     83    USE phys_state_var_mod, ONLY: pctsrf
    8484    USE indice_sol_mod
    8585    USE time_phylmdz_mod, only: current_time
     
    246246    REAL,    INTENT(in)  :: ref_liq_pi(klon,klev) ! cloud droplet radius pre-industrial from newmicro
    247247    REAL,    INTENT(in)  :: ref_ice_pi(klon,klev) ! ice crystal radius   pre-industrial from newmicro
     248    REAL,    INTENT(in)  :: m_allaer(klon,klev,naero_tot) ! mass aero
    248249
    249250    CHARACTER(len=512), INTENT(in) :: namelist_ecrad_file
Note: See TracChangeset for help on using the changeset viewer.