Ignore:
Timestamp:
Dec 20, 2017, 12:23:42 PM (7 years ago)
Author:
jvatant
Message:

Making chemistry handling more flexible - Step 1
+ Enable upper_chemistry_dimension in the startfi files
+ Added a comchem_h for all the chemistry related stuff
+ start2archive adapted to these modifs : next step newstart !
--JVO

File:
1 edited

Legend:

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

    r1670 r1871  
    5555                           emissiv
    5656      use comsoil_h, only: volcapa
     57      use comchem_h, only: nlaykim_up
    5758      use iostart, only: get_var
    5859      use mod_phys_lmdz_para, only: is_parallel
     
    149150        dtemisice(:)=0 !time scale for snow metamorphism
    150151        volcapa=1000000 ! volumetric heat capacity of subsurface
    151 
     152! chemistry
     153        nlaykim_up=70 ! size of vertical grid for upper chemistry
     154       
    152155      ELSE
    153156!-----------------------------------------------------------------------
     
    204207! soil properties
    205208      volcapa = tab_cntrl(tab0+35) ! volumetric heat capacity
     209! chemistry
     210      nlaykim_up = nint(tab_cntrl(tab0+40)) ! size of vertical grid for upper chemistry
    206211!-----------------------------------------------------------------------
    207212!       Save some constants for later use (as routine arguments)
     
    256261
    257262      write(*,5) '(35)        volcapa',tab_cntrl(tab0+35),volcapa
     263
     264      write(*,5) '(40)     nlaykim_up',tab_cntrl(tab0+40),float(nlaykim_up)
    258265
    259266      write(*,*)
     
    564571 
    565572      write(*,5) '(35)        volcapa',tab_cntrl(tab0+35),volcapa
     573     
     574      write(*,5) '(40)     nlaykim_up',tab_cntrl(tab0+40),float(nlaykim_up)
    566575
    567576      write(*,*) 
Note: See TracChangeset for help on using the changeset viewer.