Changeset 3998 for LMDZ6/trunk
- Timestamp:
- Nov 2, 2021, 3:54:30 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d_common/infotrac.F90
r3945 r3998 219 219 write(lunout,*) 'nqtrue=',nqtrue 220 220 ELSE 221 WRITE(lunout,*) trim(modname),': Problem in opening traceur.def' 222 WRITE(lunout,*) trim(modname),': WARNING using defaut values' 223 IF (planet_type=='earth') THEN 224 nqtrue=4 ! Default value for Earth 225 ELSE 226 nqtrue=1 ! Default value for other planets 227 ENDIF 221 WRITE(lunout,*) trim(modname),': Failed opening traceur.def' 222 CALL abort_gcm(modname,"file traceur.def not found!",1) 228 223 ENDIF 229 224 !jyg< … … 251 246 READ(90,*) nqo 252 247 ELSE 253 WRITE(lunout,*) trim(modname),': Using default value for nqo'254 nqo=2248 WRITE(lunout,*) trim(modname),': Failed opening traceur.def' 249 CALL abort_gcm(modname,"file traceur.def not found!",1) 255 250 ENDIF 256 251 IF (nqo /= 2 .AND. nqo /= 3 ) THEN … … 321 316 !--------------------------------------------------------------------- 322 317 IF (type_trac == 'lmdz' .OR. type_trac == 'repr' .OR. type_trac == 'coag' .OR. type_trac == 'co2i') THEN 323 324 IF(ierr.EQ.0) THEN325 318 326 319 ! Continue to read tracer.def … … 370 363 CLOSE(90) 371 364 372 ELSE ! Without tracer.def, set default values373 374 if (planet_type=="earth") then375 ! for Earth, default is to have 4 tracers376 hadv(1) = 14377 vadv(1) = 14378 tnom_0(1) = 'H2Ov'379 tnom_transp(1) = 'air'380 hadv(2) = 10381 vadv(2) = 10382 tnom_0(2) = 'H2Ol'383 tnom_transp(2) = 'air'384 hadv(3) = 10385 vadv(3) = 10386 tnom_0(3) = 'RN'387 tnom_transp(3) = 'air'388 hadv(4) = 10389 vadv(4) = 10390 tnom_0(4) = 'PB'391 tnom_transp(4) = 'air'392 else ! default for other planets393 hadv(1) = 10394 vadv(1) = 10395 tnom_0(1) = 'dummy'396 tnom_transp(1) = 'dummy'397 endif ! of if (planet_type=="earth")398 399 ENDIF400 401 365 WRITE(lunout,*) trim(modname),': Valeur de traceur.def :' 402 366 WRITE(lunout,*) trim(modname),': nombre total de traceurs ',nqtrue … … 480 444 ! et les schemas d'advection associes. excepte pour ceux lus 481 445 ! dans traceur.def 482 IF (ierr .eq. 0) then483 446 484 447 DO iq=1,nqo+nqCO2 … … 530 493 CLOSE(90) 531 494 532 ELSE !! if traceur.def doesn't exist533 534 tnom_0(1)='H2Ov'535 tnom_transp(1) = 'air'536 tnom_0(2)='H2Ol'537 tnom_transp(2) = 'air'538 hadv(1) = 10539 hadv(2) = 10540 vadv(1) = 10541 vadv(2) = 10542 543 ENDIF544 495 545 496 #ifdef INCA
Note: See TracChangeset
for help on using the changeset viewer.