Ignore:
Timestamp:
Jul 1, 2024, 3:02:29 PM (4 weeks ago)
Author:
dcugnet
Message:
  • Modifiy some horzcat* routines: gfortran does not like empty arrays (ie with one null dimension) in arrays constructors (ifort does)
  • Remove unused variables
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/dyn3d_common/infotrac.F90

    r5001 r5003  
    156156   INTEGER :: nqtrue                                                 !--- Tracers nb from tracer.def (no higher order moments)
    157157   INTEGER :: iad                                                    !--- Advection scheme number
    158    INTEGER :: ic, iq, jq, it, nt, im, nm, iz, k                      !--- Indexes and temporary variables
     158   INTEGER :: iq, jq, nt, im, nm                                     !--- Indexes and temporary variables
    159159   LOGICAL :: lerr, ll
    160    CHARACTER(LEN=1) :: p
    161160   TYPE(trac_type), ALLOCATABLE, TARGET :: ttr(:)
    162161   TYPE(trac_type), POINTER             :: t1, t(:)
    163    INTEGER :: ierr
    164162   CHARACTER(LEN=maxlen),   ALLOCATABLE :: types_trac(:)  !--- Keyword for tracers type(s), parsed version
    165163
     
    245243      ttr(1+nqo:nqCO2+nqo   )%component = 'co2i'
    246244      ttr(1+nqo+nqCO2:nqtrue)%component = 'inca'
    247       ttr(1+nqo      :nqtrue)%name      = [('CO2     ', k=1, nqCO2), solsym_inca]
     245      ttr(1+nqo      :nqtrue)%name      = [('CO2     ', iq=1, nqCO2), solsym_inca]
    248246      ttr(1+nqo+nqCO2:nqtrue)%parent    = tran0
    249247      ttr(1+nqo+nqCO2:nqtrue)%phase     = 'g'
Note: See TracChangeset for help on using the changeset viewer.