Ignore:
Timestamp:
Oct 30, 2016, 4:35:25 PM (8 years ago)
Author:
oboucher
Message:

Adding a module for stratospheric aerosols with a bin scheme.
The module gets activated with -strataer true compiling option.
May not quite work yet, more testing needed, but should not affect
the rest of LMDz as everything is under a CPP_StratAer key.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/physiq_mod.F90

    r2684 r2690  
    745745    REAL conv_q(klon,klev) ! convergence de l'humidite (kg/kg/s)
    746746    REAL conv_t(klon,klev) ! convergence de la temperature(K/s)
    747 
    748     !
    749     !  REAL zxsnow(klon)
     747    !
    750748    REAL zxsnow_dummy(klon)
    751749    REAL zsav_tsol(klon)
     
    763761    real zqsat(klon,klev)
    764762    !
    765     INTEGER i, k, iq, ig, j, nsrf, ll, l, iiq
     763    INTEGER i, k, iq, j, nsrf, ll, l
    766764    !
    767765    REAL t_coup
     
    884882    !IM 141004 END
    885883    !IM 190504 BEG
    886     INTEGER ij
    887884    !  INTEGER imp1jmp1
    888885    !  PARAMETER(imp1jmp1=(iim+1)*jjmp1)
     
    893890    LOGICAL ok_msk
    894891    REAL msk(klon)
    895     !IM
    896     REAL airetot, pi
    897892    !ym A voir plus tard
    898893    !ym      REAL zm_wo(jjmp1, klev)
     
    932927    !$OMP THREADPRIVATE(ok_sync)
    933928    real date0
    934     integer idayref
    935929
    936930    ! essai writephys
     
    953947    DATA      ip_ebil/0/
    954948    !$OMP THREADPRIVATE(ip_ebil)
    955     INTEGER   if_ebil ! level for energy conserv. dignostics
    956     SAVE      if_ebil
    957     !$OMP THREADPRIVATE(if_ebil)
    958949    REAL q2m(klon,nbsrf)  ! humidite a 2m
    959950
     
    34833474          ELSE
    34843475#ifdef CPP_RRTM
     3476#ifndef CPP_StratAer
     3477          !--prescribed strat aerosols
     3478          !--only in the case of non-interactive strat aerosols
    34853479            IF (flag_aerosol_strat.EQ.1) THEN
    34863480             CALL readaerosolstrato1_rrtm(debut)
     
    34923486             CALL abort_physic(modname,abort_message,1)
    34933487            ENDIF
     3488#endif
    34943489#else
    34953490             abort_message='You should compile with -rrtm if running ' &
     
    34993494          ENDIF
    35003495       ENDIF
     3496!
     3497#ifdef CPP_RRTM
     3498#ifdef CPP_StratAer
     3499       !--interactive strat aerosols
     3500       CALL calcaerosolstrato_rrtm(pplay,t_seri,paprs,debut)
     3501#endif
     3502#endif
    35013503       !--fin STRAT AEROSOL
    35023504       !     
Note: See TracChangeset for help on using the changeset viewer.