Ignore:
Timestamp:
Sep 1, 2011, 11:40:15 AM (13 years ago)
Author:
jghattas
Message:

Corrected compiling error :
Added "#ifdef REPROBUS" to protect variables know only while compiling
with Reprobus.


Location:
LMDZ5/trunk/libf/phylmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/radiation_AR4.F

    r1565 r1568  
    28432843
    28442844      IF (type_trac == 'repr') THEN
     2845#ifdef REPROBUS
    28452846         IF (ok_Rtime2D) THEN
    2846 #ifdef REPROBUS
    28472847            PABCU(JL,19,JC)=PABCU(JL,19,JCP1)
    28482848     S           +ZABLY(JL,8,JC)*RCH42D(JL,JC)/RCO2*ZPHM6(JL)*ZDIFF
     
    28582858            PABCU(JL,24,JC)=PABCU(JL,24,JCP1)
    28592859     S           +ZABLY(JL,8,JC)*RCFC122D(JL,JC)/RCO2         *ZDIFF
    2860 #endif
    28612860         ELSE
    28622861            ! Same calculation as for type_trac /= repr
     
    28752874     S           +ZABLY(JL,8,JC)*RCFC12/RCO2         *ZDIFF
    28762875         END IF
     2876#endif
    28772877      ELSE
    28782878         PABCU(JL,19,JC)=PABCU(JL,19,JCP1)
  • LMDZ5/trunk/libf/phylmd/tracreprobus_mod.F90

    r1565 r1568  
    4949    INTEGER :: it, k
    5050
    51 
     51#ifdef REPROBUS
    5252    !   -- CHIMIE REPROBUS --
    5353    pdt_rep=pdtphys/2.
     
    104104       WRITE(solsym(it),'(i2)') it
    105105    END DO
    106 
     106#endif
    107107  END SUBROUTINE tracreprobus
    108108
Note: See TracChangeset for help on using the changeset viewer.