Ignore:
Timestamp:
May 14, 2022, 8:13:22 PM (2 years ago)
Author:
dcugnet
Message:
  • remove striso (use isoName instead)
  • few fixes for the lOldCode=.FALSE. code
  • add the « isotopes_params.def » file, used in the lOldCode=.FALSE. part of the isotopes_mod module.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmdiso/phyredem.F90

    r4143 r4149  
    489489      USE indice_sol_mod, ONLY: nbsrf
    490490      USE iostart, ONLY: put_field
    491       USE isotopes_mod, ONLY: striso,iso_eau
     491      USE isotopes_mod, ONLY: isoName,iso_eau
    492492#ifdef ISOVERIF
    493493      USE isotopes_verif_mod
     
    568568   do ixt=1,ntiso
    569569
    570      if (ixt.le.niso) then
    571         outiso=striso(ixt)
    572      else
    573 #ifdef ISOTRAC
    574         iiso=index_iso(ixt)
    575         izone=index_zone(ixt)       
    576         outiso=striso(iiso)//strtrac(izone)
    577 #else
    578         write(*,*) 'phyredem 546: ixt,ntiso=', ixt,ntiso
    579         stop
    580 #endif
    581      endif !if (ixt.le.niso) then
     570      outiso = TRIM(isoName(ixt))
     571      i = INDEX(outiso, '_', .TRUE.)
     572      outiso = outiso(1:i-1)//outiso(i+1:LEN_TRIM(outiso))
    582573      write(*,*) 'phyredem 550: ixt,outiso=',ixt,TRIM(outiso)
    583574     
Note: See TracChangeset for help on using the changeset viewer.