Ignore:
Timestamp:
Sep 11, 2024, 4:27:07 PM (2 months ago)
Author:
abarral
Message:

Replace REPROBUS CPP KEY by logical using handmade wonky wrapper

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phy_common/lmdz_physics_distribution.F90

    r5117 r5185  
    1313    USE dimphy, ONLY: Init_dimphy
    1414    USE infotrac_phy, ONLY: type_trac
    15 #ifdef REPROBUS
    16   USE CHEM_REP, ONLY: Init_chem_rep_phys
    17 #endif
    18     USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_INCA
     15    USE lmdz_reprobus_wrappers, ONLY: Init_chem_rep_phys
     16    USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_INCA, CPPKEY_REPROBUS
    1917    IMPLICIT NONE
    2018    INTEGER, INTENT(IN) :: grid_type
     
    3533    END IF
    3634
    37 #ifdef REPROBUS
    38 ! Initialization of Reprobus
    39     IF (type_trac == 'repr') CALL Init_chem_rep_phys(klon_omp,nbp_lev)
    40 #endif
     35    IF (CPPKEY_REPROBUS) THEN
     36      ! Initialization of Reprobus
     37      IF (type_trac == 'repr') CALL Init_chem_rep_phys(klon_omp, nbp_lev)
     38    END IF
    4139
    4240    !$OMP END PARALLEL
     
    4947  !  USE dimphy, ONLY: Init_dimphy
    5048  !  USE infotrac_phy, ONLY: type_trac
    51   !#ifdef REPROBUS
    52   !  USE CHEM_REP, ONLY: Init_chem_rep_phys
    53   !#endif
     49  !IF (CPPKEY_REPROBUS) THEN
     50  !  USE lmdz_reprobus_wrappers, ONLY: Init_chem_rep_phys
     51  !END IF
    5452
    5553  !  IMPLICIT NONE
     
    6765  !    CALL Init_dimphy(klon_omp,nbp_lev)
    6866
    69   !#ifdef REPROBUS
     67  !IF (CPPKEY_REPROBUS) THEN
    7068  !! Initialization of Reprobus
    7169  !    IF (type_trac == 'repr') CALL Init_chem_rep_phys(klon_omp,nbp_lev)
    7270  !    END IF
    73   !#endif
     71  !END IF
    7472
    7573  !!$OMP END PARALLEL
Note: See TracChangeset for help on using the changeset viewer.