Ignore:
Timestamp:
Mar 20, 2014, 10:57:19 AM (10 years ago)
Author:
Laurent Fairhead
Message:

Merged trunk changes r1920:1997 into testing branch

Location:
LMDZ5/branches/testing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/testing

  • LMDZ5/branches/testing/libf/phylmd/thermcell_main.F90

    r1910 r1999  
    8383      REAL pplay(ngrid,nlay),pplev(ngrid,nlay+1)
    8484      real pphi(ngrid,nlay)
     85      LOGICAL debut
    8586
    8687!   local:
     
    178179!FH/IM     save f0
    179180      real zlevinter(klon)
    180       logical debut
    181181       real seuil
    182182      real csc(klon,klev)
     
    256256!
    257257
    258       seuil=0.25
    259 
    260       if (debut)  then
    261 !        call getin('dvdq',dvdq)
    262 !        call getin('dqimpl',dqimpl)
    263 
    264          if (iflag_thermals==15.or.iflag_thermals==16) then
    265             dvdq=0
    266             dqimpl=-1
    267          else
    268             dvdq=1
    269             dqimpl=1
    270          endif
    271 
    272          fm0=0.
    273          entr0=0.
    274          detr0=0.
    275 
    276 
    277 #undef wrgrads_thermcell
    278 #ifdef wrgrads_thermcell
    279 ! Initialisation des sorties grads pour les thermiques.
    280 ! Pour l'instant en 1D sur le point igout.
    281 ! Utilise par thermcell_out3d.h
    282          str10='therm'
    283          call inigrads(1,1,rlond(igout),1.,-180.,180.,jjm, &
    284      &   rlatd(igout),-90.,90.,1.,llm,pplay(igout,:),1.,   &
    285      &   ptimestep,str10,'therm ')
    286 #endif
    287 
    288 
    289 
    290       endif
    291 
    292       fm=0. ; entr=0. ; detr=0.
    293 
    294 
    295       icount=icount+1
     258   seuil=0.25
     259
     260   if (debut) then
     261      if (iflag_thermals==15.or.iflag_thermals==16) then
     262         dvdq=0
     263         dqimpl=-1
     264      else
     265         dvdq=1
     266         dqimpl=1
     267      endif
     268
     269      fm0=0.
     270      entr0=0.
     271      detr0=0.
     272   endif
     273   fm=0. ; entr=0. ; detr=0.
     274   icount=icount+1
    296275
    297276!IM 090508 beg
     
    10911070!     print*,'15 OK convect8 CCCCCCCCCCCCCCCCCCc'
    10921071
    1093 #ifdef wrgrads_thermcell
    1094       if (prt_level.ge.1) print*,'thermcell_main sorties 3D'
    1095 #include "thermcell_out3d.h"
    1096 #endif
    1097 
    10981072      endif
    10991073
Note: See TracChangeset for help on using the changeset viewer.