Changeset 5618 for LMDZ6/branches/contrails/libf/misc/readTracFiles_mod.f90
- Timestamp:
- Apr 15, 2025, 11:56:45 AM (2 months ago)
- Location:
- LMDZ6/branches/contrails
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/contrails
- Property svn:mergeinfo changed
/LMDZ6/trunk merged: 5451,5458,5460,5463,5468-5487,5490-5496,5499-5520,5524-5526,5528,5531,5544,5554-5557,5559-5562,5569-5572,5578,5582-5585,5597
- Property svn:mergeinfo changed
-
LMDZ6/branches/contrails/libf/misc/readTracFiles_mod.f90
r5609 r5618 61 61 INTEGER :: nqChildren = 0 !--- Number of children (first generation) 62 62 INTEGER :: iadv = 10 !--- Advection scheme used 63 LOGICAL :: isAdvected = .FALSE. !--- "true" tracers: iadv > 0. COUNT(isAdvected )=nqtrue64 63 LOGICAL :: isInPhysics = .TRUE. !--- "true" tracers: in tr_seri. COUNT(isInPhysics)=nqtottr 65 INTEGER :: iso_iGroup = -1!--- Isotopes group index in isotopes(:)64 INTEGER :: iso_iGroup = 0 !--- Isotopes group index in isotopes(:) 66 65 INTEGER :: iso_iName = 0 !--- Isotope name index in isotopes(iso_iGroup)%trac(:) 67 66 INTEGER :: iso_iZone = 0 !--- Isotope zone index in isotopes(iso_iGroup)%zone(:) … … 185 184 ! * The "keys" component (of type keys_type) is in principle enough to store everything we could need. 186 185 ! But some variables are stored as direct-access keys to make the code more readable and because they are used often. 187 ! * Most of the direct-access keys are set in this module, but some are not (longName, iadv , isAdvectedfor now).186 ! * Most of the direct-access keys are set in this module, but some are not (longName, iadv and isInPhysicsfor now). 188 187 ! * Some of the direct-access keys must be updated (using the routine "setDirectKeys") is a subset of "tracers(:)" 189 188 ! is extracted: the indexes are no longer valid for a subset (examples: iqParent, iqDescen). … … 1075 1074 CALL addKey('iqParent', parent(iq), tr(iq)%keys) 1076 1075 CALL addKey('iqGeneration', iGen(iq), tr(iq)%keys) 1076 tr(iq)%iqParent = iqParent(iq) 1077 1077 END DO 1078 1078 … … 1314 1314 1315 1315 !=== SELECT WATER ISOTOPES CLASS OR, IF UNFOUND, THE FIRST ISOTOPES CLASS 1316 IF( isoSelect('H2O', .TRUE.)) THEN; iH2O = ixIso; ELSE; lerr = isoSelect(1, .TRUE.); END IF1316 IF(.NOT.isoSelect('H2O', .TRUE.)) THEN; iH2O = ixIso; ELSE; lerr = isoSelect(1, .TRUE.); END IF 1317 1317 1318 1318 CONTAINS
Note: See TracChangeset
for help on using the changeset viewer.