Changeset 5801


Ignore:
Timestamp:
Sep 1, 2025, 1:51:57 PM (3 months ago)
Author:
Sebastien Nguyen
Message:

field iqParent from tracers was left blankwhen it needs to take value iqParent(iq). This bug appeared in rev 5005 where key parent was used instead of field iqParent. It corrects initialization problems in dynetat0_loc and infotarc_phy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/misc/readTracFiles_mod.f90

    r5771 r5801  
    10741074  DO iq = 1, nq; iGen(iq) = 0; jq = iq
    10751075    iqParent(iq) = strIdx(tnames, parent(iq))
     1076    tr(iq)%iqParent = iqParent(iq)
    10761077    DO; jq = strIdx(tnames, parent(jq)); IF(jq == 0) EXIT; iGen(iq) = iGen(iq) + 1; END DO
    10771078    CALL addKey('iqParent', iqParent(iq), tr(iq)%keys)
    1078     CALL addKey('iqGeneration', iGen(iq), tr(iq)%keys)
     1079    CALL addKey('iGeneration', iGen(iq), tr(iq)%keys)
    10791080    tr(iq)%iqParent = iqParent(iq)
    10801081    tr(iq)%iGeneration =  iGen(iq)
Note: See TracChangeset for help on using the changeset viewer.