Changeset 4762


Ignore:
Timestamp:
Dec 10, 2023, 10:37:06 PM (5 months ago)
Author:
lguez
Message:

Use YOMCST from LMDZ, not from RRTM or ECRad

Because the modules yomcst in RRTM and ECRad do not contain the same
objects. In particular, RKBOL is in rrtm/yomcst.F90 but not in
ecrad/yomcst.F90. So compilation with -rad ecrad -strataer true
fails. And we want to avoid modifying files from ECRad.

Location:
LMDZ6/trunk/libf/phylmd/StratAer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/StratAer/coagulate.F90

    r3677 r4762  
    2727  USE infotrac_phy
    2828  USE phys_local_var_mod, ONLY: DENSO4, f_r_wet
    29   USE YOMCST
    3029
    3130  IMPLICIT NONE
     
    8180  REAL                                          :: EvdW
    8281
     82  include "YOMCST.h"
     83
    8384  DO i=1, nbtr_bin
    8485   radius(i)=mdw(i)/2.
  • LMDZ6/trunk/libf/phylmd/StratAer/nucleation_tstep_mod.F90

    r4601 r4762  
    1010  USE aerophys
    1111  USE infotrac_phy
    12   USE YOMCST, ONLY : RPI, RD, RMD, RKBOL, RNAVO
    1312  USE strataer_local_var_mod, ONLY : flag_new_nucl
    1413 
     
    3938  REAL airn    ! Air molecule concentration in (cm-3) NOT IN USE
    4039  REAL ipr     ! Ion pair production rate (cm-3 s-1) NOT IN USE
     40
     41  include "YOMCST.h"
    4142
    4243  ! call nucleation routine
     
    329330
    330331  USE aerophys
    331   USE YOMCST, ONLY : RPI, RKBOL
    332332
    333333  IMPLICIT NONE
     
    385385  DOUBLE PRECISION :: xloss       ! Ion loss rate
    386386  DOUBLE PRECISION :: recomb      ! Ion-ion recombination rate
     387
     388  include "YOMCST.h"
    387389
    388390  !--- 0) Initializations:
Note: See TracChangeset for help on using the changeset viewer.