Ignore:
Timestamp:
Sep 28, 2017, 3:43:23 PM (7 years ago)
Author:
jvatant
Message:

Added the surface methane tank and put it in start files
--JVO

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/phytitan/physiq_mod.F90

    r1788 r1789  
    375375!$OMP THREADPRIVATE(dycchi,qysat,nomqy)
    376376
     377      real,dimension(:),allocatable,save :: tankCH4 ! Depth of surface methane tank
     378!$OMP THREADPRIVATE(tankCH4)
     379
    377380!-----------------------------------------------------------------------------
    378381     
     
    402405        ALLOCATE(qsurf(ngrid,nq)) 
    403406        ALLOCATE(q2(ngrid,nlayer+1))
     407        ALLOCATE(tankCH4(ngrid))
    404408        ALLOCATE(ztprevious(ngrid,nlayer))
    405409        ALLOCATE(zuprevious(ngrid,nlayer))
     
    448452!        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    449453         call phyetat0(startphy_file,ngrid,nlayer,"startfi.nc",0,0,nsoilmx,nq,      &
    450                        day_ini,time_phys,tsurf,tsoil,emis,q2,qsurf)                       
     454                       day_ini,time_phys,tsurf,tsoil,emis,q2,qsurf,tankCH4)                       
    451455         if (.not.startphy_file) then
    452456           ! additionnal "academic" initialization of physics
     
    12411245            call physdem1("restartfi.nc",nsoilmx,ngrid,nlayer,nq, &
    12421246                          ptimestep,ztime_fin,                    &
    1243                           tsurf,tsoil,emis,q2,qsurf_hist)
     1247                          tsurf,tsoil,emis,q2,qsurf_hist,tankCH4)
    12441248         endif
    12451249         
Note: See TracChangeset for help on using the changeset viewer.