Changeset 3932


Ignore:
Timestamp:
Jun 11, 2021, 10:55:11 PM (4 years ago)
Author:
oboucher
Message:

Reinstating the reading of parameters for the interactive CO2 configuration that Etienne deleted by mistake :-(

File:
1 edited

Legend:

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

    r3912 r3932  
    2727    USE phys_cal_mod
    2828    USE carbon_cycle_mod,  ONLY: carbon_cycle_tr, carbon_cycle_cpl, carbon_cycle_rad, level_coupling_esm
     29    USE carbon_cycle_mod,  ONLY: read_fco2_ocean_cor,var_fco2_ocean_cor
     30    USE carbon_cycle_mod,  ONLY: read_fco2_land_cor,var_fco2_land_cor
    2931    USE mod_grid_phy_lmdz, ONLY: klon_glo
    3032    USE print_control_mod, ONLY: lunout
     
    240242    LOGICAL, SAVE :: carbon_cycle_rad_omp
    241243    INTEGER, SAVE :: level_coupling_esm_omp
     244    LOGICAL, SAVE :: read_fco2_ocean_cor_omp
     245    REAL, SAVE    :: var_fco2_ocean_cor_omp
     246    LOGICAL, SAVE :: read_fco2_land_cor_omp
     247    REAL, SAVE    :: var_fco2_land_cor_omp
    242248    LOGICAL, SAVE :: adjust_tropopause_omp
    243249    LOGICAL, SAVE :: ok_daily_climoz_omp
     
    23022308    CALL getin('carbon_cycle_rad',carbon_cycle_rad_omp)
    23032309
    2304     ! >> PC
     2310    read_fco2_ocean_cor_omp=.FALSE.
     2311    CALL getin('read_fco2_ocean_cor',read_fco2_ocean_cor_omp)
     2312
     2313    var_fco2_ocean_cor_omp=0. ! default value
     2314    CALL getin('var_fco2_ocean_cor',var_fco2_ocean_cor_omp)
     2315
     2316    read_fco2_land_cor_omp=.FALSE.
     2317    CALL getin('read_fco2_land_cor',read_fco2_land_cor_omp)
     2318
     2319    var_fco2_land_cor_omp=0. ! default value
     2320    CALL getin('var_fco2_land_cor',var_fco2_land_cor_omp)
     2321
    23052322    ! level_coupling_esm : level of coupling of the biogeochemical fields between LMDZ, ORCHIDEE and NEMO
    23062323    ! Definitions of level_coupling_esm in physiq.def
     
    23152332    level_coupling_esm_omp=0 ! default value
    23162333    CALL getin('level_coupling_esm',level_coupling_esm_omp)
    2317     ! << PC
    23182334
    23192335    !$OMP END MASTER
     
    25922608    carbon_cycle_rad = carbon_cycle_rad_omp
    25932609    level_coupling_esm = level_coupling_esm_omp
     2610    read_fco2_ocean_cor = read_fco2_ocean_cor_omp
     2611    var_fco2_ocean_cor = var_fco2_ocean_cor_omp
     2612    read_fco2_land_cor = read_fco2_land_cor_omp
     2613    var_fco2_land_cor = var_fco2_land_cor_omp
    25942614
    25952615    ! Test of coherence between type_ocean and version_ocean
     
    29162936    WRITE(lunout,*) ' carbon_cycle_rad = ', carbon_cycle_rad
    29172937    WRITE(lunout,*) ' level_coupling_esm = ', level_coupling_esm
     2938    WRITE(lunout,*) ' read_fco2_ocean_cor = ', read_fco2_ocean_cor
     2939    WRITE(lunout,*) ' var_fco2_ocean_cor = ', var_fco2_ocean_cor
     2940    WRITE(lunout,*) ' read_fco2_land_cor = ', read_fco2_land_cor
     2941    WRITE(lunout,*) ' var_fco2_land_cor = ', var_fco2_land_cor
    29182942    WRITE(lunout,*) ' iflag_tsurf_inlandsis = ', iflag_tsurf_inlandsis
    29192943    WRITE(lunout,*) ' iflag_temp_inlandsis = ', iflag_temp_inlandsis
Note: See TracChangeset for help on using the changeset viewer.