Changeset 4241


Ignore:
Timestamp:
Sep 9, 2022, 4:33:13 PM (20 months ago)
Author:
dcugnet
Message:

Fix for reprobus: "types_trac" (parsed version of "type_trac" with "|") must
be used instead of type_trac most of the time.

Location:
LMDZ6/trunk/libf
Files:
2 edited

Legend:

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

    r4140 r4241  
    140140
    141141  ! Initializations for Reprobus
    142   IF (type_trac == 'repr') THEN
     142  IF (ANY(types_trac == 'repr')) THEN
    143143#ifdef REPROBUS
    144144    call Init_chem_rep_phys(klon_omp,nlayer)
     
    151151
    152152
    153   IF (type_trac == 'repr') THEN
     153  IF (ANY(types_trac == 'repr')) THEN
    154154#ifdef REPROBUS
    155155    call init_reprobus_para( &
     
    166166  END IF
    167167
    168   IF (type_trac == 'inca' .OR. type_trac == 'inco') THEN
     168  IF (ANY(types_trac == 'inca') .OR. ANY(types_trac == 'inco')) THEN
    169169#ifdef INCA
    170170     CALL init_inca_dim_reg(nbp_lon, nbp_lat - 1, &
  • LMDZ6/trunk/libf/phylmd/rrtm/lwu.F90

    r3666 r4241  
    7676#ifdef REPROBUS
    7777USE chem_rep, ONLY: rch42d, rn2o2d, rcfc112d, rcfc122d, ok_rtime2d
    78 USE infotrac_phy, ONLY : type_trac
     78USE infotrac_phy, ONLY : types_trac
    7979#endif
    8080
     
    321321      PABCU(JL,18,IC)=PABCU(JL,18,ICP1)+ ZUAER(JL,5)    *ZDUC(JL,IC)*ZDIFF
    322322#ifdef REPROBUS
    323         IF (type_trac=='repr'.and. ok_rtime2d) THEN
     323        IF (ANY(types_trac=='repr').and. ok_rtime2d) THEN
    324324!- CH4
    325325      PABCU(JL,19,IC)=PABCU(JL,19,ICP1)&
Note: See TracChangeset for help on using the changeset viewer.