Ignore:
Timestamp:
Oct 22, 2024, 2:09:45 PM (2 months 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/dyn3d_common/infotrac.F90

    r5251 r5252  
    118118SUBROUTINE init_infotrac
    119119   USE control_mod, ONLY: planet_type
    120 #ifdef REPROBUS
    121    USE CHEM_REP, ONLY: Init_chem_rep_trac
    122 #endif
    123    USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_INCA
     120   USE lmdz_reprobus_wrappers, ONLY: Init_chem_rep_trac
     121   USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_INCA, CPPKEY_REPROBUS, CPPKEY_STRATAER
    124122   IMPLICIT NONE
    125123!==============================================================================================================================
     
    202200END IF
    203201      CASE('repr')
    204 #ifndef REPROBUS
     202IF (.NOT. CPPKEY_REPROBUS) THEN
    205203         CALL abort_gcm(modname, 'You must add cpp key REPROBUS and compile with REPROBUS code', 1)
    206 #endif
     204END IF
    207205      CASE('coag')
    208 #ifndef CPP_StratAer
     206IF (.NOT. CPPKEY_STRATAER) THEN
    209207         CALL abort_gcm(modname, 'You must add cpp key StratAer and compile with StratAer code', 1)
    210 #endif
     208END IF
    211209   END SELECT
    212210
     
    279277   !---------------------------------------------------------------------------------------------------------------------------
    280278
    281 #ifdef REPROBUS
     279IF (CPPKEY_REPROBUS) THEN
    282280   CALL Init_chem_rep_trac(nbtr, nqo, tracers(:)%name)
    283 #endif
     281END IF
    284282
    285283!==============================================================================================================================
Note: See TracChangeset for help on using the changeset viewer.