Ignore:
Timestamp:
Oct 22, 2024, 2:09:45 PM (7 weeks ago)
Author:
abarral
Message:

Wrap uses of cpp key REPROBUS and CPP_STRATAER
Add REPROBUS wrapper

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/dynphy_lonlat/phylmd/iniphysiq_mod.F90

    r5251 r5252  
    1717  USE vertical_layers_mod, ONLY : init_vertical_layers
    1818  USE infotrac, ONLY: nbtr, type_trac
    19 #ifdef CPP_StratAer
    2019  USE infotrac_phy, ONLY: nbtr_bin, nbtr_sulgas, id_OCS_strat, &
    2120                      id_SO2_strat, id_H2SO4_strat, id_BIN01_strat
    22 
    23 #endif
    24 #ifdef REPROBUS
    25   USE CHEM_REP, ONLY : Init_chem_rep_phys
     21  USE lmdz_reprobus_wrappers, ONLY : Init_chem_rep_phys
    2622#ifdef CPP_PARA
    2723  USE parallel_lmdz, ONLY : mpi_size, mpi_rank
     
    2925#endif
    3026  USE mod_phys_lmdz_omp_data, ONLY: klon_omp
    31 #endif
    3227  USE control_mod, ONLY: dayref,anneeref,day_step,nday,offline, iphysiq
    3328  USE inifis_mod, ONLY: inifis
     
    4641  USE ioipsl_getin_p_mod, ONLY: getin_p
    4742  USE slab_heat_transp_mod, ONLY: ini_slab_transp_geom
    48   USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_INCA
     43  USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_INCA, CPPKEY_REPROBUS
    4944  IMPLICIT NONE
    5045
     
    140135  ! Initializations for Reprobus
    141136  IF (type_trac == 'repr') THEN
    142 #ifdef REPROBUS
     137IF (CPPKEY_REPROBUS) THEN
    143138    call Init_chem_rep_phys(klon_omp,nlayer)
    144139    call init_reprobus_para( &
    145140          nbp_lon,nbp_lat,nbp_lev,klon_glo,mpi_size, &
    146141          distrib_phys,communicator)
    147 #endif
     142END IF
    148143  ENDIF
    149144!$OMP END PARALLEL
     
    151146
    152147  IF (type_trac == 'repr') THEN
    153 #ifdef REPROBUS
     148IF (CPPKEY_REPROBUS) THEN
    154149    call init_reprobus_para( &
    155150          nbp_lon,nbp_lat,nbp_lev,klon_glo,mpi_size, &
    156151          distrib_phys,communicator)
    157 #endif
     152END IF
    158153  ENDIF
    159154
Note: See TracChangeset for help on using the changeset viewer.