Changeset 4068 for LMDZ6/trunk/libf/dyn3d_common
- Timestamp:
- Jan 29, 2022, 7:22:11 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d_common/infotrac.F90
r4067 r4068 3 3 MODULE infotrac 4 4 5 USE strings_mod, ONLY: msg, find, strIdx, strFind, strParse, dispTable, int2str, reduceExpr,&6 cat, fmsg, test, strTail, strHead, strStack, strReduce f, bool2str, maxlen, testFile5 USE strings_mod, ONLY: msg, find, strIdx, strFind, strParse, dispTable, int2str, reduceExpr, & 6 cat, fmsg, test, strTail, strHead, strStack, strReduce, bool2str, maxlen, testFile 7 7 USE readTracFiles_mod, ONLY: trac_type, readTracersFiles, addPhase, phases_sep, nphases, ancestor, & 8 8 isot_type, readIsotopesFile, delPhase, old_phases, getKey_init, tran0, & … … 823 823 ALLOCATE(i%keys(i%niso)) 824 824 mask = t%type=='tracer' .AND. delPhase(t%gen0Name)=='H2O' .AND. t%phase == 'g' .AND. t%iGeneration==1 825 i%keys(:)%name = strReducef(strTail(PACK(delPhase(t%name), MASK = mask), '_')) 825 str = strTail(PACK(delPhase(t%name), MASK=mask), '_') 826 CALL strReduce(str) 827 i%keys(:)%name = str 826 828 827 829 !--- Full isotopes list, with isotopes tagging tracers (if any) following the previous list 828 i%ntiso = ntiso; ALLOCATE(i%trac(i%ntiso)) 830 i%ntiso = ntiso 831 ALLOCATE(i%trac(i%ntiso)) 829 832 mask = t%type=='tag' .AND. delPhase(t%gen0Name)=='H2O' .AND. t%phase == 'g' .AND. t%iGeneration==2 830 i%trac(:) = [i%keys(:)%name, strReducef(PACK(delPhase(t%name), MASK = mask))] 833 str = PACK(delPhase(t%name), MASK=mask) 834 CALL strReduce(str) 835 i%trac(:) = [i%keys(:)%name, str] 831 836 832 837 !--- Tagging zones names list
Note: See TracChangeset
for help on using the changeset viewer.