Ignore:
Timestamp:
Jul 6, 2018, 9:01:31 AM (6 years ago)
Author:
oboucher
Message:

Embryon of changes for interactive CO2
type_trac=co2i

File:
1 edited

Legend:

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

    r2690 r3361  
    152152       CALL abort_gcm('infotrac_init','You must compile with cpp key REPROBUS',1)
    153153#endif
     154    ELSE IF (type_trac == 'co2i') THEN
     155       WRITE(lunout,*) 'You have chosen to run with CO2 cycle: type_trac=', type_trac
    154156    ELSE IF (type_trac == 'coag') THEN
    155157       WRITE(lunout,*) 'Tracers are treated for COAGULATION tests : type_trac=', type_trac
     
    177179!
    178180!-----------------------------------------------------------------------
    179     IF (type_trac == 'lmdz' .OR. type_trac == 'repr' .OR. type_trac == 'coag') THEN
     181    IF (type_trac == 'lmdz' .OR. type_trac == 'repr' .OR. type_trac == 'coag' .OR. type_trac == 'co2i') THEN
    180182       OPEN(90,file='traceur.def',form='formatted',status='old', iostat=ierr)
    181183       IF(ierr.EQ.0) THEN
     
    281283!    Get choice of advection schema from file tracer.def or from INCA
    282284!---------------------------------------------------------------------
    283     IF (type_trac == 'lmdz' .OR. type_trac == 'repr' .OR. type_trac == 'coag') THEN
     285    IF (type_trac == 'lmdz' .OR. type_trac == 'repr' .OR. type_trac == 'coag' .OR. type_trac == 'co2i') THEN
    284286       IF(ierr.EQ.0) THEN
    285287          ! Continue to read tracer.def
     
    673675            if (ipere.gt.nqtot) then
    674676                WRITE(lunout,*) 'Le traceur',iq,'appele ', &
    675       &          trim(tnom_0(iq)),', est orpelin.'
     677      &          trim(tnom_0(iq)),', est orphelin.'
    676678                CALL abort_gcm('infotrac_init','Un traceur est orphelin',1)
    677679            endif !if (ipere.gt.nqtot) then
     
    684686    WRITE(lunout,*) 'iqpere=',iqpere
    685687    WRITE(lunout,*) 'iqfils=',iqfils
     688    WRITE(lunout,*) 'infotrac'
    686689
    687690! Calculer le nombre de descendants à partir de iqfils et de nbfils
     
    702705        endif !if (ipere.gt.0) then
    703706      enddo !do while (continu)   
     707      WRITE(lunout,*) iq
    704708      WRITE(lunout,*) 'Le traceur ',iq,', appele ',trim(tnom_0(iq)),' est un traceur de generation: ',generation
    705709    enddo !DO iq=1,nqtot
     
    726730    enddo !do iq=1,nqtot
    727731
     732    WRITE(lunout,*) 'infotrac init fin'
    728733
    729734! detecter quels sont les traceurs isotopiques parmi des traceurs
Note: See TracChangeset for help on using the changeset viewer.