Changeset 2226 for LMDZ5/trunk/libf


Ignore:
Timestamp:
Mar 11, 2015, 4:18:55 PM (10 years ago)
Author:
Laurent Fairhead
Message:

correction sur le niveau de detrainement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/cv3p_mixing.F90

    r2007 r2226  
    5858  REAL, DIMENSION (nloc)             :: Smid, Sjmin, Sjmax
    5959  REAL, DIMENSION (nloc)             :: Sbef, sup, smin
    60   REAL, DIMENSION (nloc)             :: ASij, smax, Scrit
     60!jyg  REAL, DIMENSION (nloc)             :: ASij, smax, Scrit
     61  REAL, DIMENSION (nloc)             :: ASij, ASij_inv, smax, Scrit
    6162  REAL, DIMENSION (nloc, nd, nd)     :: Sij
    6263  REAL, DIMENSION (nloc, nd)         :: csum
     
    524525      IF (i>=icb(il) .AND. i<=inb(il) .AND. lwork(il)) THEN
    525526        ASij(il) = amax1(1.0E-16, ASij(il))
    526         ASij(il) = 1.0/ASij(il)
     527!jyg+lluis<
     528!!        ASij(il) = 1.0/ASij(il)
     529        ASij_inv(il) = 1.0/ASij(il)
     530!   IF the F-interval spanned by possible mixtures is less than 0.01, no mixing occurs
     531        IF (ASij_inv(il) > 100.)  ASij_inv(il) = 0.
     532!>jyg+lluis
    527533        csum(il, i) = 0.0
    528534      END IF
     
    533539        IF (i>=icb(il) .AND. i<=inb(il) .AND. lwork(il) .AND. &
    534540            j>=(icb(il)-1) .AND. j<=inb(il)) THEN
    535           Ment(il, i, j) = Ment(il, i, j)*ASij(il)
     541!jyg          Ment(il, i, j) = Ment(il, i, j)*ASij(il)
     542          Ment(il, i, j) = Ment(il, i, j)*ASij_inv(il)
    536543        END IF
    537544      END DO
Note: See TracChangeset for help on using the changeset viewer.