Changeset 4973 for LMDZ6


Ignore:
Timestamp:
Jun 7, 2024, 3:27:21 PM (6 months ago)
Author:
idelkadi
Message:

Moving the m_allaer variable from phys_local_var_mod.F90 to phys_state_var_mod.F90

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

Legend:

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

    r4950 r4973  
    124124      !$OMP THREADPRIVATE(d_ts, d_tr)
    125125
    126 ! aerosols
    127       REAL, SAVE, ALLOCATABLE :: m_allaer (:,:,:)
    128       !$OMP THREADPRIVATE(m_allaer)
    129126! diagnostique pour le rayonnement
    130127      REAL, SAVE, ALLOCATABLE :: topswad_aero(:),  solswad_aero(:)      ! diag
     
    723720      ALLOCATE(d_ts(klon,nbsrf), d_tr(klon,klev,nbtr))
    724721
    725 ! aerosols
    726       ALLOCATE(m_allaer(klon,klev,naero_tot))
    727722! Special RRTM
    728723      ALLOCATE(ZLWFT0_i(klon,klev+1),ZSWFT0_i(klon,klev+1),ZFLDN0(klon,klev+1))
     
    11361131      DEALLOCATE(solsw_aerop, solsw0_aerop)
    11371132      DEALLOCATE(topswcf_aerop, solswcf_aerop)
    1138 !AI Aerosols
    1139       DEALLOCATE(m_allaer)
    11401133!CK LW diagnostics
    11411134      DEALLOCATE(toplwad_aerop, sollwad_aerop)
  • LMDZ6/trunk/libf/phylmd/phys_state_var_mod.F90

    r4933 r4973  
    474474      REAL,SAVE,ALLOCATABLE :: ccm(:,:,:)
    475475!$OMP THREADPRIVATE(ccm)
     476      REAL, SAVE, ALLOCATABLE :: m_allaer (:,:,:)
     477!$OMP THREADPRIVATE(m_allaer)
    476478
    477479      REAL,SAVE,ALLOCATABLE :: ale_bl_trig(:)
     
    752754      ALLOCATE(cg_aero_lw_rrtm(klon,klev,2,nbands_lw_rrtm))
    753755      ALLOCATE(ccm(klon,klev,nbands))
     756      ALLOCATE(m_allaer(klon,klev,naero_tot))
    754757
    755758#ifdef ISO
     
    936939      DEALLOCATE(tau_aero_lw_rrtm,piz_aero_lw_rrtm,cg_aero_lw_rrtm)
    937940      DEALLOCATE(ccm)
     941      DEALLOCATE(m_allaer)
    938942      if (ok_gwd_rando) DEALLOCATE(du_gwd_rando)
    939943      if (.not. ok_hines .and. ok_gwd_rando) DEALLOCATE(du_gwd_front)
  • LMDZ6/trunk/libf/phylmd/radlwsw_m.F90

    r4962 r4973  
    8080    ! Besoin pour ECRAD de pctsrf, zmasq, longitude, altitude
    8181#ifdef CPP_ECRAD
    82     USE phys_local_var_mod, ONLY: rhcl, m_allaer
    8382    USE geometry_mod, ONLY: latitude, longitude
    84     USE phys_state_var_mod, ONLY: pctsrf
     83    USE phys_state_var_mod, ONLY: pctsrf, m_allaer
    8584    USE indice_sol_mod
    8685    USE time_phylmdz_mod, only: current_time
Note: See TracChangeset for help on using the changeset viewer.