Changeset 2567


Ignore:
Timestamp:
Jun 13, 2016, 10:23:40 AM (8 years ago)
Author:
acozic
Message:

correct a bug / hadv_inca and vadv_inca need to be defined even when we don't use inca model

File:
1 edited

Legend:

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

    r2566 r2567  
    8787    INTEGER, ALLOCATABLE, DIMENSION(:) :: vadv  ! index of vertical trasport schema
    8888
    89 #ifdef INCA
    9089    INTEGER, ALLOCATABLE, DIMENSION(:) :: hadv_inca  ! index of horizontal trasport schema
    9190    INTEGER, ALLOCATABLE, DIMENSION(:) :: vadv_inca  ! index of vertical trasport schema
    92 #endif
    9391
    9492    CHARACTER(len=15), ALLOCATABLE, DIMENSION(:) :: tnom_0  ! tracer short name
     
    210208#endif       
    211209       nqtrue=nbtr+nqo
     210
     211       ALLOCATE(hadv_inca(nbtr), vadv_inca(nbtr))
     212
    212213    END IF   ! type_trac
    213214!>jyg
     
    232233    ALLOCATE(tnom_0(nqtrue), hadv(nqtrue), vadv(nqtrue),tnom_transp(nqtrue))
    233234
    234 #ifdef INCA
    235     ALLOCATE(hadv_inca(nbtr), vadv_inca(nbtr))
    236 #endif
    237235!
    238236!jyg<
Note: See TracChangeset for help on using the changeset viewer.