Ignore:
Timestamp:
Feb 17, 2017, 3:44:15 PM (8 years ago)
Author:
jvatant
Message:

Another round of cleaning of dust and dummy tracers
JVO

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/phytitan/initracer.F

    r1647 r1668  
    88c   --------
    99c   Initialization related to tracer
    10 c   (transported dust, water, chemical species, ice...)
     10c   (chemical species, ice...)
    1111c
    1212c   Name of the tracer
     
    3838c  alpha_lift(nq)  ! saltation vertical flux/horiz flux ratio (m-1)
    3939c  alpha_devil(nq) ! lifting coeeficient by dust devil
    40 c  doubleq           ! if method with mass (iq=1) and number(iq=2) mixing ratio
    41 c  varian            ! Characteristic variance of log-normal distribution
    4240c-----------------------------------------------------------------------
    4341
     
    5351       ALLOCATE(alpha_devil(nq))
    5452       ALLOCATE(qextrhor(nq))
    55        ALLOCATE(igcm_dustbin(nq))
    5653       !! initialization
    5754       alpha_lift(:)=0.
     
    7269      ! 0. initialize tracer indexes to zero:
    7370      ! NB: igcm_* indexes are commons in 'tracer.h'
    74       igcm_co=0
    75       igcm_o=0
    76       igcm_o1d=0
    77       igcm_o2=0
    78       igcm_o3=0
    79       igcm_h=0
    80       igcm_h2=0
    81       igcm_oh=0
    82       igcm_ho2=0
    83       igcm_h2o2=0
    8471      igcm_n2=0
    85       igcm_ar=0
    86       igcm_ar_n2=0
    8772
    8873      write(*,*) 'initracer: noms() ', noms
    8974
    9075
    91       !print*,'Setting dustbin = 0 in initracer.F'
    92       !dustbin=0
     76      ! 1. find chemistry tracers
     77      count = 0.   
    9378
    94       ! 1. find dust tracers
    95       count=0
    96 !      if (dustbin.gt.0) then
    97 !        do iq=1,nq
    98 !          txt=" "
    99 !          write(txt,'(a4,i2.2)')'dust',count+1   
    100 !          if (noms(iq).eq.txt) then
    101 !            count=count+1
    102 !            igcm_dustbin(count)=iq
    103 !            mmol(iq)=100.
    104 !          endif
    105 !        enddo !do iq=1,nq
    106 !      endif ! of if (dustbin.gt.0)
    107 
    108 
    109 !      if (doubleq) then
    110 !        do iq=1,nq
    111 !          if (noms(iq).eq."dust_mass") then
    112 !            igcm_dust_mass=iq
    113 !            count=count+1
    114 !          endif
    115 !          if (noms(iq).eq."dust_number") then
    116 !            igcm_dust_number=iq
    117 !            count=count+1
    118 !          endif
    119 !        enddo
    120 !      endif ! of if (doubleq)
    121       ! 2. find chemistry and water tracers
    122      
     79 
    12380      ! check that we identified all tracers:
    12481      if (count.ne.nq) then
     
    150107      write(*,*) 'alpha_devil = ', alpha_devil
    151108      write(*,*) 'radius  = ', radius
    152 !      if(doubleq) then
    153 !        write(*,*) 'reff_lift (um) =  ', reff_lift
    154 !        write(*,*) 'size distribution variance  = ', varian
    155 !        write(*,*) 'r3n_q , ref_r0 : ', r3n_q , ref_r0
    156 !      end if
     109     
    157110      write(*,*) 'Qext  = ', qext
    158111      write(*,*)
Note: See TracChangeset for help on using the changeset viewer.