Changeset 1898 for trunk/LMDZ.TITAN/libf


Ignore:
Timestamp:
Jan 26, 2018, 11:29:20 AM (7 years ago)
Author:
jvatant
Message:

Making chemistry handling more flexible - final step for all concerning startfi files
+ Added the vert_regrid_kim.F90 regriding upper fields and chemistry tracers if needed
in the newstart according to the new pressure grid
+ Fix some typos from lasts commit
( e.g. missing init of tracer_surf names in lect_start_archive )
--JVO

Location:
trunk/LMDZ.TITAN/libf/dynphy_lonlat/phytitan
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/dynphy_lonlat/phytitan/lect_start_archive.F

    r1894 r1898  
    729729
    730730      DO iq=1,nqtot
     731        txt=trim(tname(iq))//"_surf"
    731732       
    732733        write(*,*) "lect_start_archive: loading tracer ",trim(txt)
  • trunk/LMDZ.TITAN/libf/dynphy_lonlat/phytitan/newstart.F

    r1894 r1898  
    266266c=======================================================================
    267267
    268 ! Initialize global tracer indexes (stored in tracer.h)
    269 ! ... this has to be done before phyetat0
    270       call initracer2(nqtot,tname)
    271 
    272268! Take care of arrays in common modules
    273269      ! ALLOCATE ARRAYS in surfdat_h (if not already done, e.g. when using start_archive)
     
    337333     &                  aire,cu,cv,rad,g,r,cpp,
    338334     &                  1)
     335
     336! Initialize global tracer indexes (stored in tracer.h)
     337! ... this has to be done before phyetat0
     338         CALL initracer2(nqtot,tname)
    339339
    340340        ! Lmodif set to 0 to disable modifications possibility in phyeta0                           
     
    458458     &                  aire,cu,cv,rad,g,r,cpp,
    459459     &                  1)
     460! Initialize global tracer indexes (stored in tracer.h)
     461         CALL initracer2(nqtot,tname)
     462
    460463      ENDIF
    461464
     
    10911094          ENDIF
    10921095         
    1093           ! Regriding if needed
     1096          ! Regridind of upper chemistry fields and uppermost GCM
     1097          ! chemistry tracers if needed
    10941098         
    10951099          IF (nlaykimold.ne.nlaykim_up) THEN
    10961100
    10971101            WRITE(*,*) " Warning, nlaykimold=", nlaykimold
    1098             WRITE(*,*) ' which implies that a vertical regriding on upper 
    1099      &chemistry fields will be performed.'
     1102            WRITE(*,*) ' which implies that a vertical regrid on upper 
     1103     &chemistry fields will be performed. If the ceiling is lowered I
     1104     & will also adjust GCM uppermost layers chem. tracers.'
    11001105            WRITE(*,*)
    11011106         
    1102 !            CALL vert_regrid_kim(ngridmx)
     1107            CALL vert_regrid_kim(nqtot,q)
    11031108
    11041109          ENDIF
Note: See TracChangeset for help on using the changeset viewer.