Ignore:
Timestamp:
May 20, 2017, 9:41:16 AM (8 years ago)
Author:
Laurent Fairhead
Message:

Merged trunk changes r2865:2885 into testing branch

Location:
LMDZ5/branches/testing
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/testing

  • LMDZ5/branches/testing/libf/phylmd/rrtm/rrtm_init_140gp.F90

    r2870 r2886  
    8181!  Calculate lookup tables for functions needed in routine TAUMOL (TAUGB2)
    8282
     83! FH 2017/05/03
     84! Ce facteur de correction CORR2 est vraiment bizare parce qu'on
     85! impose 1. aux bornes,  en I=1 et I=200 mais la fonction
     86! CORE=( 1 - sqrt(i/im) ) / ( 1 - i/im ) = 1/ ( 1 + sqrt(i/im))
     87! vaut 1 en i=1 et 1/2 en i=im ...
     88
    8389CORR1(0) = 1.0_JPRB
    84 CORR1(400) = 1.0_JPRB
     90CORR1(200) = 1.0_JPRB
    8591CORR2(0) = 1.0_JPRB
    86 CORR2(400) = 1.0_JPRB
    87 DO I = 1,399
    88   Z_FP = 0.0025_JPRB*REAL(I)
     92CORR2(200) = 1.0_JPRB
     93DO I = 1,199
     94  Z_FP = 0.005_JPRB*REAL(I)
    8995  Z_RTFP = SQRT(Z_FP)
    9096  CORR1(I) = Z_RTFP/Z_FP
  • LMDZ5/branches/testing/libf/phylmd/rrtm/rrtm_taumol2.F90

    r1999 r2886  
    111111  IFP=MAX(0,IFP)
    112112
     113! FH 2017/05/02
     114! Modification parce qu'on avait un plantage sur un cas 1D.
     115! C'est evidemment une correction suspecte
     116  IF (IFP>200) THEN
     117      PRINT*,'WARNING IFP=',IFP,' 2.E2_JPRB*Z_FP+0.5_JPRB avec Z_FP=',Z_FP
     118      IFP=200
     119  ENDIF
     120
    113121  Z_FC00(I_LAY) = P_FAC00(I_LAY) * CORR2(IFP)
    114122  Z_FC10(I_LAY) = P_FAC10(I_LAY) * CORR2(IFP)
     
    147155!---MI 981104       
    148156  IF (IFP <= 0) IFP=0
     157  IF (IFP>200) THEN
     158      PRINT*,'WARNING IFP=',IFP,' 2.E2_JPRB*Z_FP+0.5_JPRB avec Z_FP=',Z_FP
     159      IFP=200
     160  ENDIF
    149161
    150162  Z_FC00(I_LAY) = P_FAC00(I_LAY) * CORR2(IFP)
  • LMDZ5/branches/testing/libf/phylmd/rrtm/yoerrtbg2.F90

    r2870 r2886  
    1313!    -------------------------------------------------------------------
    1414
    15 REAL(KIND=JPRB) :: CORR1(0:400)
    16 REAL(KIND=JPRB) :: CORR2(0:400)
     15REAL(KIND=JPRB) :: CORR1(0:200)
     16REAL(KIND=JPRB) :: CORR2(0:200)
    1717
    1818!     -----------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.