Ignore:
Timestamp:
Dec 6, 2013, 4:48:32 PM (11 years ago)
Author:
jleconte
Message:

correct a copy/paste bug from last commit and gfortran bug in watercommon

Location:
trunk/LMDZ.GENERIC/libf/phystd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/sugas_corrk.F90

    r1122 r1123  
    103103      do igas=1,ngas
    104104         read(111,*) gastype(igas)
    105          print*,'Gas ',igas,' is ',gastype(igas+      real kappa_IR, kappa_VI, IR_VI_wnlimit
    106 )
     105         print*,'Gas ',igas,' is ',gastype(igas)
    107106      enddo
    108107
  • trunk/LMDZ.GENERIC/libf/phystd/watercommon_h.F90

    r1016 r1123  
    214214         else if (T.lt.Tmin) then
    215215            print*, "careful, T<Tmin in psat water"
    216             psat = Pref_solid_liquid*Exp(r3sublimation*(Tmin-T_h2O_ice_liq)/(Tmin-Trefsublimation)) ! min psat 
     216         !   psat = Pref_solid_liquid*Exp(r3sublimation*(Tmin-T_h2O_ice_liq)/(Tmin-Trefsublimation)) ! min psat 
     217         ! Ehouarn: gfortran says: Error: Result of EXP underflows its kind,
     218         !          so set psat to the smallest possible value instead
     219            psat=tiny(psat)
    217220         else                 
    218221            psat = Pref_solid_liquid*Exp(r3sublimation*(T-T_h2O_ice_liq)/(T-Trefsublimation)) ! solid / vapour
Note: See TracChangeset for help on using the changeset viewer.