Changeset 17 for readTracFiles_mod.f90


Ignore:
Timestamp:
Apr 5, 2022, 4:18:49 PM (3 years ago)
Author:
dcugnet
Message:

Fix in sortTracer for gfortran compliance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • readTracFiles_mod.f90

    r16 r17  
    600600!------------------------------------------------------------------------------------------------------------------------------
    601601  TYPE(trac_type), ALLOCATABLE, INTENT(INOUT) :: tr(:)         !--- Tracer derived type vector
    602 !  TYPE(trac_type), ALLOCATABLE :: ttr(:)
    603602  INTEGER,         ALLOCATABLE :: iy(:), iz(:)
    604603  INTEGER :: ig, ng, iq, jq, ip, nq, n, ix(SIZE(tr)), k
     
    608607    iq = strIdx(tr(:)%name, addPhase('H2O', ip))
    609608    IF(iq == 0) CYCLE
    610     tr = tr([iq, 1:iq-1, iq+1:nq])
    611 !    tr(:)%name = nam
     609    tr = [tr(iq), tr(1:iq-1), tr(iq+1:nq)]
    612610  END DO
    613611  IF(lSortByGen) THEN
Note: See TracChangeset for help on using the changeset viewer.