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 moved

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/tropopause_m.f90

    r5184 r5185  
    11MODULE tropopause_m
    22
    3   IMPLICIT NONE
    4   PRIVATE
    5   PUBLIC :: dyn_tropopause
     3  IMPLICIT NONE; PRIVATE
     4  PUBLIC dyn_tropopause
    65
    76CONTAINS
     
    1716    USE lmdz_geometry, ONLY: latitude_deg, longitude_deg
    1817    USE lmdz_vertical_layers, ONLY: aps, bps, preff
    19 #ifdef REPROBUS
    20   USE chem_rep, ONLY: itroprep
    21 #endif
     18    USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_REPROBUS
     19    USE lmdz_reprobus_wrappers, ONLY: itroprep
    2220    USE lmdz_yomcst
    2321
     
    116114        END DO; kp = kt
    117115      END IF
    118 #ifdef REPROBUS
    119     itroprep(i)=MAX(kt,kp)
    120 #endif
     116      IF (CPPKEY_REPROBUS) THEN
     117        itroprep(i) = MAX(kt, kp)
     118      END IF
    121119      !--- LAST TROPOSPHERIC LAYER INDEX NEEDED
    122120      IF(PRESENT(itrop)) itrop(i) = MAX(kt, kp)
Note: See TracChangeset for help on using the changeset viewer.