Ignore:
Timestamp:
Apr 18, 2015, 5:06:36 PM (9 years ago)
Author:
jyg
Message:

Bug fixes concerning the number "nqo" of water
phases in "q" array: part II (sequel of fixes of
revision 2262).

Modified files:

carbon_cycle_mod.F90
ini_histrac.h
phyredem.F90
phyetat0.F90
traclmdz_mod.F90
write_histrac.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/phyetat0.F90

    r2252 r2265  
    2121       zstd, zthe, zval, ale_bl, ale_bl_trig, alp_bl
    2222  USE iostart, ONLY : close_startphy, get_field, get_var, open_startphy
    23   USE infotrac, only: nbtr, type_trac, tname, niadv
     23  USE infotrac, only: nbtr, nqo, type_trac, tname, niadv
    2424  USE traclmdz_mod,    ONLY : traclmdz_from_restart
    2525  USE carbon_cycle_mod, ONLY : carbon_cycle_tr, carbon_cycle_cpl, co2_send
     
    349349
    350350  IF (type_trac == 'lmdz') THEN
    351      DO it=1, nbtr
    352         iiq=niadv(it+2)
     351     DO it=1, nbtr                                                                 
     352!!        iiq=niadv(it+2)                                                           ! jyg
     353        iiq=niadv(it+nqo)                                                           ! jyg
    353354        found=phyetat0_get(1,trs(:,it),"trs_"//tname(iiq), &
    354355              "Surf trac"//tname(iiq),0.)
Note: See TracChangeset for help on using the changeset viewer.