Ignore:
Timestamp:
Nov 21, 2019, 4:43:45 PM (5 years ago)
Author:
lguez
Message:

Merge revisions 3427:3600 of trunk into branch Ocean_skin

Location:
LMDZ6/branches/Ocean_skin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Ocean_skin

  • LMDZ6/branches/Ocean_skin/libf/phylmd/thermcell_main.F90

    r2387 r3605  
    440440!
    441441      if (prt_level.ge.1) print*,'avant thermcell_plume ',lev_out
    442 !IM 140508   CALL thermcell_plume(ngrid,nlay,ptimestep,ztv,zthl,po,zl,rhobarz,  &
    443 
    444 ! Gestion temporaire de plusieurs appels à thermcell_plume au travers
    445 ! de la variable iflag_thermals
    446 
    447 !      print*,'THERM thermcell_main iflag_thermals_ed=',iflag_thermals_ed
     442
     443!=====================================================================
     444! Old version of thermcell_plume in thermcell_plume_6A.F90
     445! It includes both thermcell_plume_6A and thermcell_plume_5B corresponding
     446! to the 5B and 6A versions used for CMIP5 and CMIP6.
     447! The latest was previously named thermcellV1_plume.
     448! The new thermcell_plume is a clean version (removing obsolete
     449! options) of thermcell_plume_6A.
     450! The 3 versions are controled by
     451! flag_thermals_ed <= 9 thermcell_plume_6A
     452!                  <= 19 thermcell_plume_5B
     453!                  else thermcell_plume (default 20 for convergence with 6A)
     454! Fredho
     455!=====================================================================
     456
    448457      if (iflag_thermals_ed<=9) then
    449458!         print*,'THERM NOUVELLE/NOUVELLE Arnaud'
     459         CALL thermcell_plume_6A(itap,ngrid,nlay,ptimestep,ztv,zthl,po,zl,rhobarz,&
     460     &    zlev,pplev,pphi,zpspsk,alim_star,alim_star_tot,  &
     461     &    lalim,f0,detr_star,entr_star,f_star,csc,ztva,  &
     462     &    ztla,zqla,zqta,zha,zw2,zw_est,ztva_est,zqsatth,lmix,lmix_bis,linter &
     463     &    ,lev_out,lunout1,igout)
     464
     465      elseif (iflag_thermals_ed<=19) then
     466!        print*,'THERM RIO et al 2010, version d Arnaud'
     467         CALL thermcell_plume_5B(itap,ngrid,nlay,ptimestep,ztv,zthl,po,zl,rhobarz,&
     468     &    zlev,pplev,pphi,zpspsk,alim_star,alim_star_tot,  &
     469     &    lalim,f0,detr_star,entr_star,f_star,csc,ztva,  &
     470     &    ztla,zqla,zqta,zha,zw2,zw_est,ztva_est,zqsatth,lmix,lmix_bis,linter &
     471     &    ,lev_out,lunout1,igout)
     472      else
    450473         CALL thermcell_plume(itap,ngrid,nlay,ptimestep,ztv,zthl,po,zl,rhobarz,&
    451474     &    zlev,pplev,pphi,zpspsk,alim_star,alim_star_tot,  &
     
    453476     &    ztla,zqla,zqta,zha,zw2,zw_est,ztva_est,zqsatth,lmix,lmix_bis,linter &
    454477     &    ,lev_out,lunout1,igout)
    455 
    456       elseif (iflag_thermals_ed>9) then
    457 !        print*,'THERM RIO et al 2010, version d Arnaud'
    458          CALL thermcellV1_plume(itap,ngrid,nlay,ptimestep,ztv,zthl,po,zl,rhobarz,&
    459      &    zlev,pplev,pphi,zpspsk,alim_star,alim_star_tot,  &
    460      &    lalim,f0,detr_star,entr_star,f_star,csc,ztva,  &
    461      &    ztla,zqla,zqta,zha,zw2,zw_est,ztva_est,zqsatth,lmix,lmix_bis,linter &
    462      &    ,lev_out,lunout1,igout)
    463 
    464478      endif
    465479
Note: See TracChangeset for help on using the changeset viewer.