Changeset 4121


Ignore:
Timestamp:
Apr 5, 2022, 4:17:50 PM (2 years ago)
Author:
dcugnet
Message:

Fix in sortTracer for gfortran compatibility.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/misc/readTracFiles_mod.f90

    r4120 r4121  
    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.