Ignore:
Timestamp:
Jan 7, 2018, 5:35:22 PM (7 years ago)
Author:
jvatant
Message:

Some adjustments to r1871 on start_archive managment of chemistry dimension.
--JVO

File:
1 edited

Legend:

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

    r1871 r1886  
    111111      INTEGER Lmodif
    112112
    113       LOGICAL nokim
     113      LOGICAL kim
    114114
    115115      REAL ptotal
     
    226226        PRINT*, "start2archive: Missing field(s) for upper chemistry ...
    227227     . I presume they're all absent !"
    228         nokim=.TRUE.
     228        kim=.FALSE.
    229229      ELSE
    230230        PRINT*,"start2archive: I found a field for upper chemistry ...
     
    232232        ! Allocates upper chemistry fields in comchem_h on physical and scalar grid
    233233        CALL allokim_start2archive(ngridmx,ip1jmp1)
     234        kim=.TRUE.
    234235      ENDIF
    235236
     
    366367      call gr_fi_dyn(1,ngridmx,iip1,jjp1,tankCH4,tankCH4S)
    367368
    368       IF (nokim .eqv. .FALSE.) THEN ! NB : fields are in comchem_h
     369      IF (kim) THEN ! NB : fields are in comchem_h
    369370         call gr_fi_dyn(nlaykim_up,ngridmx,iip1,jjp1,H,H_S)
    370371         call gr_fi_dyn(nlaykim_up,ngridmx,iip1,jjp1,H2,H2_S)
     
    560561c-----------------------------------------------------------------
    561562
    562       IF (nokim .eqv. .FALSE.) THEN
     563      IF (kim) THEN
    563564         call write_archive(nid,ntime,'H_up',
    564565     .              'H in upper atmosphere','kg/kg',4,H_S)
Note: See TracChangeset for help on using the changeset viewer.