Ignore:
Timestamp:
Jan 31, 2022, 9:20:17 PM (2 years ago)
Author:
dcugnet
Message:
  • Fix for unadvected tracers (iadv==0)
  • The key %isH2Ofamily, from the derived type "trac_type", is replaced with the more general

key %isInPhysics, which is TRUE for tracers both in "qx" and "tr_seri".

Currently, FALSE for tracers descending on H2O (isotopes and tagging tracers included). Could be set to FALSE
for interactive CO2 (type_trac=='inco') or ice supersaturated cloud content (tranfered to "rneb_seri")

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r4069 r4071  
    22702270       itr = 0
    22712271       DO iq = 1, nqtot
    2272          IF(tracers(iq)%isH2Ofamily) CYCLE
     2272         IF(.NOT.tracers(iq)%isInPhysics) CYCLE
    22732273         itr = itr+1
    22742274          DO  k = 1, klev
     
    22902290       itr = 0
    22912291       do iq = 1, nqtot
    2292          IF(tracers(iq)%isH2Ofamily) CYCLE
     2292         IF(.NOT.tracers(iq)%isInPhysics) CYCLE
    22932293         itr = itr+1
    22942294         tr_ancien(:,:,itr)=tr_seri(:,:,itr)       
     
    51175117       itr = 0
    51185118       DO iq = 1, nqtot
    5119           IF(tracers(iq)%isH2Ofamily) CYCLE
     5119          IF(.NOT.tracers(iq)%isInPhysics) CYCLE
    51205120          itr = itr+1
    51215121          DO  k = 1, klev
Note: See TracChangeset for help on using the changeset viewer.