Changeset 4140 for LMDZ6/trunk/libf/misc
- Timestamp:
- Apr 29, 2022, 6:37:44 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/misc/readTracFiles_mod.f90
r4138 r4140 1403 1403 CHARACTER(LEN=maxlen), ALLOCATABLE :: tmp(:) 1404 1404 INTEGER :: ix, ip, it, nt 1405 LOGICAL :: lerr 1405 LOGICAL :: lerr, lH2O 1406 1406 newName = oldName 1407 1407 IF(PRESENT(iPhase)) iPhase = 1 !--- Default: gaseous phase 1408 IF(oldName(1:MIN(3,LEN_TRIM(oldName))) /= 'H2O') RETURN !--- Not a water descendant 1408 lH2O=.FALSE. 1409 IF(LEN_TRIM(oldName)>3) THEN 1410 lH2O = oldName(1:3)=='H2O' .AND. INDEX(old_phases,oldName(4:4))/=0 !---H2O<phase>*, with phase=="v", "l", "i" or "r" 1411 IF(LEN_TRIM(oldName) > 4) lH2O = lH2O .AND. oldName(5:5)=='_' !---H2O<phase>_*, with phase=="v", "l", "i" or "r" 1412 END IF 1413 IF(.NOT.lH2O) RETURN 1409 1414 IF(LEN_TRIM(oldName)>3) THEN; IF(INDEX(old_Phases,oldName(4:4))==0) RETURN; END IF 1410 1415
Note: See TracChangeset
for help on using the changeset viewer.