Changeset 4005 for LMDZ6/trunk/libf
- Timestamp:
- Nov 10, 2021, 10:40:20 AM (3 years ago)
- Location:
- LMDZ6/trunk/libf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d_common/infotrac.F90
r3998 r4005 27 27 28 28 ! Name variables 29 CHARACTER(len=20), ALLOCATABLE, DIMENSION(:), SAVE :: tname ! tracer short name for restart and diagnostics 30 CHARACTER(len=23), ALLOCATABLE, DIMENSION(:), SAVE :: ttext ! tracer long name for diagnostics 29 INTEGER,PARAMETER :: tname_lenmax=128 30 CHARACTER(len=tname_lenmax), ALLOCATABLE, DIMENSION(:), SAVE :: tname ! tracer short name for restart and diagnostics 31 CHARACTER(len=tname_lenmax+3), ALLOCATABLE, DIMENSION(:), SAVE :: ttext ! tracer long name for diagnostics 31 32 32 33 ! iadv : index of trasport schema for each tracer … … 118 119 CHARACTER(len=8), ALLOCATABLE, DIMENSION(:) :: solsym_inca 119 120 120 CHARACTER(len= 30), ALLOCATABLE, DIMENSION(:) :: tnom_0 ! tracer short name121 CHARACTER(len= 30), ALLOCATABLE, DIMENSION(:) :: tnom_transp ! transporting fluid short name: CRisi121 CHARACTER(len=tname_lenmax), ALLOCATABLE, DIMENSION(:) :: tnom_0 ! tracer short name 122 CHARACTER(len=tname_lenmax), ALLOCATABLE, DIMENSION(:) :: tnom_transp ! transporting fluid short name: CRisi 122 123 CHARACTER(len=3), DIMENSION(30) :: descrq 123 124 CHARACTER(len=1), DIMENSION(3) :: txts 124 125 CHARACTER(len=2), DIMENSION(9) :: txtp 125 CHARACTER(len= 23) :: str1,str2126 CHARACTER(len=tname_lenmax) :: str1,str2 126 127 127 128 INTEGER :: nqtrue ! number of tracers read from tracer.def, without higer order of moment … … 130 131 LOGICAL :: continu,nouveau_traceurdef 131 132 INTEGER :: IOstatus ! gestion de la retrocompatibilite de traceur.def 132 CHARACTER(len= 30) :: tchaine133 CHARACTER(len=2*tname_lenmax+1) :: tchaine 133 134 134 135 character(len=*),parameter :: modname="infotrac_init" … … 349 350 write(lunout,*) 'C''est la nouvelle version de traceur.def' 350 351 tnom_0(iq)=tchaine(1:iiq-1) 351 tnom_transp(iq)=tchaine(iiq+1: 30)352 tnom_transp(iq)=tchaine(iiq+1:) 352 353 else 353 354 write(lunout,*) 'C''est l''ancienne version de traceur.def' … … 366 367 WRITE(lunout,*) trim(modname),': nombre total de traceurs ',nqtrue 367 368 DO iq=1,nqtrue 368 WRITE(lunout,*) hadv(iq),vadv(iq), tnom_0(iq),tnom_transp(iq)369 WRITE(lunout,*) hadv(iq),vadv(iq),' ',trim(tnom_0(iq)),' ',trim(tnom_transp(iq)) 369 370 END DO 370 371 … … 479 480 write(lunout,*) 'C''est la nouvelle version de traceur.def' 480 481 tnom_0(iq)=tchaine(1:iiq-1) 481 tnom_transp(iq)=tchaine(iiq+1: 30)482 tnom_transp(iq)=tchaine(iiq+1:) 482 483 else 483 484 write(lunout,*) 'C''est l''ancienne version de traceur.def' … … 793 794 794 795 ! inputs 795 INTEGER nqtrue796 CHARACTER(len= 30)tnom_0(nqtrue)796 INTEGER,INTENT(IN) :: nqtrue 797 CHARACTER(len=*),INTENT(IN) :: tnom_0(nqtrue) 797 798 798 799 ! locals … … 801 802 INTEGER, ALLOCATABLE,DIMENSION(:) :: nb_isoind 802 803 INTEGER :: ntraceurs_zone_prec,iq,phase,ixt,iiso,izone 803 CHARACTER(len= 19) :: tnom_trac804 CHARACTER(len=tname_lenmax) :: tnom_trac 804 805 INCLUDE "iniprint.h" 805 806 -
LMDZ6/trunk/libf/phylmd/infotrac_phy.F90
r3924 r4005 42 42 43 43 ! Name variables 44 CHARACTER(len=20), ALLOCATABLE, DIMENSION(:), SAVE :: tname ! tracer short name for restart and diagnostics 45 CHARACTER(len=23), ALLOCATABLE, DIMENSION(:), SAVE :: ttext ! tracer long name for diagnostics 44 INTEGER,PARAMETER :: tname_lenmax=128 45 CHARACTER(len=tname_lenmax), ALLOCATABLE, DIMENSION(:), SAVE :: tname ! tracer short name for restart and diagnostics 46 CHARACTER(len=tname_lenmax+3), ALLOCATABLE, DIMENSION(:), SAVE :: ttext ! tracer long name for diagnostics 46 47 !$OMP THREADPRIVATE(tname,ttext) 47 48 … … 138 139 INTEGER,INTENT(IN) :: id_BIN01_strat_ 139 140 #endif 140 CHARACTER(len= 20),INTENT(IN) :: tname_(nqtot_) ! tracer short name for restart and diagnostics141 CHARACTER(len= 23),INTENT(IN) :: ttext_(nqtot_) ! tracer long name for diagnostics142 CHARACTER(len= 4),INTENT(IN) :: type_trac_141 CHARACTER(len=*),INTENT(IN) :: tname_(nqtot_) ! tracer short name for restart and diagnostics 142 CHARACTER(len=*),INTENT(IN) :: ttext_(nqtot_) ! tracer long name for diagnostics 143 CHARACTER(len=*),INTENT(IN) :: type_trac_ 143 144 INTEGER,INTENT(IN) :: niadv_ (nqtot_) ! equivalent dyn / physique 144 145 INTEGER,INTENT(IN) :: conv_flg_(nbtr_) 145 146 INTEGER,INTENT(IN) :: pbl_flg_(nbtr_) 146 CHARACTER(len= 8),INTENT(IN) :: solsym_(nbtr_)147 CHARACTER(len=*),INTENT(IN) :: solsym_(nbtr_) 147 148 ! Isotopes: 148 149 INTEGER,INTENT(IN) :: nqfils_(nqtot_)
Note: See TracChangeset
for help on using the changeset viewer.