Changeset 1766 for LMDZ5/trunk


Ignore:
Timestamp:
Jun 10, 2013, 4:51:15 PM (11 years ago)
Author:
Laurent Fairhead
Message:

Correction pour éviter une division par zéro
JYG


Correction to avoid division by zero
JYG

File:
1 edited

Legend:

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

    r1742 r1766  
    36023602            if(k.ge.icb(i).and.k.le.inb(i).and.
    36033603     &         j.ge.k.and.j.le.inb(i)) then
    3604              epm(i,j,k)=1.-(1.-ep(i,j))*clw(i,j)/elij(i,k,j)
     3604!!jyg             epm(i,j,k)=1.-(1.-ep(i,j))*clw(i,j)/elij(i,k,j)
     3605             epm(i,j,k)=1.-(1.-ep(i,j))*clw(i,j)/
     3606     &                     max(elij(i,k,j),1.e-16)
     3607
    36053608             epm(i,j,k)=max(epm(i,j,k),0.0)
    36063609            endif
Note: See TracChangeset for help on using the changeset viewer.