Ignore:
Timestamp:
Apr 17, 2015, 1:02:55 PM (10 years ago)
Author:
sglmd
Message:

correction on plevrad at the top of the model: option ptopzero= .true. to activate it

File:
1 edited

Legend:

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

    r1397 r1417  
    2020      use comcstfi_mod, only: pi, mugaz, cpp
    2121      use callkeys_mod, only: varactive,diurnal,tracer,water,nosurf,varfixed,satval,    &
    22                 kastprof,strictboundcorrk,specOLR,CLFvarying
     22                kastprof,strictboundcorrk,specOLR,CLFvarying,ptopzero
    2323
    2424      implicit none
     
    607607     
    608608      plevrad(1) = 0.
    609       plevrad(2) = max(pgasmin,0.0001*plevrad(3))
     609
     610      if (ptopzero) then
     611         plevrad(2) = 0.
     612      else
     613         plevrad(2) = max(pgasmin,0.0001*plevrad(3))
     614      endif
    610615
    611616      tlevrad(1) = tlevrad(2)
     
    614619      tmid(1) = tlevrad(2)
    615620      tmid(2) = tlevrad(2)
     621      tmid(3) = tlevrad(2)
     622      tmid(4) = tlevrad(2)
    616623      pmid(1) = plevrad(2)
    617624      pmid(2) = plevrad(2)
    618      
    619       DO l=1,L_NLAYRAD-1
     625      pmid(3) = plevrad(2)
     626      pmid(4) = plevrad(2)
     627     
     628      DO l=2,L_NLAYRAD-1
    620629         tmid(2*l+1) = tlevrad(2*l)
    621630         tmid(2*l+2) = tlevrad(2*l)
Note: See TracChangeset for help on using the changeset viewer.