Ignore:
Timestamp:
May 7, 2015, 5:45:04 PM (9 years ago)
Author:
crisi
Message:

Adding isotopes in the dynamics and more generally tracers of tracers.
CRisi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dyn3d/advtrac.F90

    r2239 r2270  
    99  !            M.A Filiberti (04/2002)
    1010  !
    11   USE infotrac, ONLY: nqtot, iadv
     11  USE infotrac, ONLY: nqtot, iadv,nqperes,ok_iso_verif
    1212  USE control_mod, ONLY: iapp_tracvl, day_step
    1313
     
    223223     !     Appel des sous programmes d'advection
    224224     !-----------------------------------------------------------
    225      do iq=1,nqtot
     225
     226     if (ok_iso_verif) then
     227           call check_isotopes_seq(q,1,ip1jmp1,'advtrac 162')
     228     endif !if (ok_iso_verif) then
     229
     230     do iq=1,nqperes
    226231        !        call clock(t_initial)
    227232        if(iadv(iq) == 0) cycle
     
    230235        !   ----------------------------------------------------------------
    231236        if(iadv(iq).eq.10) THEN
    232            call vlsplt(q(1,1,iq),2.,massem,wg,pbarug,pbarvg,dtvr)
    233 
     237           ! CRisi: on fait passer tout q pour avoir acces aux fils
     238           
     239           write(*,*) 'advtrac 239: iq,q(1721,19,:)=',iq,q(1721,19,:)     
     240           call vlsplt(q,2.,massem,wg,pbarug,pbarvg,dtvr,iq)
     241           
    234242           !   ----------------------------------------------------------------
    235243           !   Schema "pseudo amont" + test sur humidite specifique
     
    238246        else if(iadv(iq).eq.14) then
    239247           !
    240            CALL vlspltqs( q(1,1,1), 2., massem, wg , &
    241                 pbarug,pbarvg,dtvr,p,pk,teta )
     248           write(*,*) 'advtrac 248: iq,q(1721,19,:)=',iq,q(1721,19,:)
     249           CALL vlspltqs( q, 2., massem, wg , &
     250                pbarug,pbarvg,dtvr,p,pk,teta,iq)
     251           
    242252           !   ----------------------------------------------------------------
    243253           !   Schema de Frederic Hourdin
     
    388398     end DO
    389399
     400     if (ok_iso_verif) then
     401           call check_isotopes_seq(q,ip1jmp1,'advtrac 397')
     402     endif !if (ok_iso_verif) then
    390403
    391404     !------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.