Ignore:
Timestamp:
Apr 17, 2015, 3:33:33 PM (10 years ago)
Author:
jleconte
Message:
  • Correct radiative transfer bug for the Top layer in callcorrk following commit by SG.
File:
1 edited

Legend:

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

    r1417 r1419  
    608608      plevrad(1) = 0.
    609609
    610       if (ptopzero) then
    611          plevrad(2) = 0.
    612       else
    613          plevrad(2) = max(pgasmin,0.0001*plevrad(3))
    614       endif
    615 
    616610      tlevrad(1) = tlevrad(2)
    617611      tlevrad(2*nlayer+1)=tsurf(ig)
     
    625619      pmid(3) = plevrad(2)
    626620      pmid(4) = plevrad(2)
     621
     622      if (ptopzero) then
     623         plevrad(2) = 0.
     624      else
     625         plevrad(2) = max(pgasmin,0.0001*plevrad(3))
     626      endif
    627627     
    628628      DO l=2,L_NLAYRAD-1
Note: See TracChangeset for help on using the changeset viewer.