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/leapfrog.F

    r2239 r2270  
    1111      use IOIPSL
    1212#endif
    13       USE infotrac, ONLY: nqtot
     13      USE infotrac, ONLY: nqtot,ok_iso_verif
    1414      USE guide_mod, ONLY : guide_main
    1515      USE write_field, ONLY: writefield
     
    235235      jH_cur = jH_cur - int(jH_cur)
    236236
     237        if (ok_iso_verif) then
     238           call check_isotopes_seq(q,ip1jmp1,'leapfrog 321')
     239        endif !if (ok_iso_verif) then
    237240
    238241#ifdef CPP_IOIPSL
     
    265268!      CALL SCOPY   ( ijp1llm,   masse, 1, finvmaold,     1 )
    266269!      CALL filtreg ( finvmaold ,jjp1, llm, -2,2, .TRUE., 1 )
     270
     271        if (ok_iso_verif) then
     272           call check_isotopes_seq(q,ip1jmp1,'leapfrog 400')
     273        endif !if (ok_iso_verif) then
    267274
    268275   2  CONTINUE ! Matsuno backward or leapfrog step begins here
     
    305312      endif
    306313
     314
     315        if (ok_iso_verif) then
     316           call check_isotopes_seq(q,ip1jmp1,'leapfrog 589')
     317        endif !if (ok_iso_verif) then
     318
    307319c-----------------------------------------------------------------------
    308320c   calcul des tendances dynamiques:
     
    321333c   calcul des tendances advection des traceurs (dont l'humidite)
    322334c   -------------------------------------------------------------
     335
     336        if (ok_iso_verif) then
     337           call check_isotopes_seq(q,ip1jmp1,
     338     &           'leapfrog 686: avant caladvtrac')
     339        endif !if (ok_iso_verif) then
    323340
    324341      IF( forward. OR . leapf )  THEN
     
    327344     *        p, masse, dq,  teta,
    328345     .        flxw, pk)
     346
    329347         
    330348         IF (offline) THEN
     
    346364c   ----------------------------------
    347365
    348 
    349        CALL integrd ( 2,vcovm1,ucovm1,tetam1,psm1,massem1 ,
     366        if (ok_iso_verif) then
     367           write(*,*) 'leapfrog 720'
     368           call check_isotopes_seq(q,ip1jmp1,'leapfrog 756')
     369        endif !if (ok_iso_verif) then
     370       
     371       CALL integrd ( nqtot,vcovm1,ucovm1,tetam1,psm1,massem1 ,
    350372     $         dv,du,dteta,dq,dp,vcov,ucov,teta,q,ps,masse,phis )
    351373!     $              finvmaold                                    )
    352374
     375       if (ok_iso_verif) then
     376          write(*,*) 'leapfrog 724'
     377           call check_isotopes_seq(q,ip1jmp1,'leapfrog 762')
     378        endif !if (ok_iso_verif) then
    353379
    354380c .P.Le Van (26/04/94  ajout de  finvpold dans l'appel d'integrd)
     
    516542        CALL massdair(p,masse)
    517543
     544        if (ok_iso_verif) then
     545           call check_isotopes_seq(q,ip1jmp1,'leapfrog 1196')
     546        endif !if (ok_iso_verif) then
    518547
    519548c-----------------------------------------------------------------------
     
    600629c   preparation du pas d'integration suivant  ......
    601630
     631        if (ok_iso_verif) then
     632           call check_isotopes_seq(q,ip1jmp1,'leapfrog 1509')
     633        endif !if (ok_iso_verif) then
     634
    602635      IF ( .NOT.purmats ) THEN
    603636c       ........................................................
     
    657690            ENDIF ! of IF((MOD(itau,iperiod).EQ.0).OR.(itau.EQ.itaufin))
    658691
     692        if (ok_iso_verif) then
     693           call check_isotopes_seq(q,ip1jmp1,'leapfrog 1584')
     694        endif !if (ok_iso_verif) then
     695
    659696c-----------------------------------------------------------------------
    660697c   ecriture de la bande histoire:
     
    735772      ELSE ! of IF (.not.purmats)
    736773
     774        if (ok_iso_verif) then
     775           call check_isotopes_seq(q,ip1jmp1,'leapfrog 1664')
     776        endif !if (ok_iso_verif) then
     777
    737778c       ........................................................
    738779c       ..............       schema  matsuno        ...............
     
    757798
    758799            ELSE ! of IF(forward) i.e. backward step
     800 
     801        if (ok_iso_verif) then
     802           call check_isotopes_seq(q,ip1jmp1,'leapfrog 1698')
     803        endif !if (ok_iso_verif) then 
    759804
    760805              IF(MOD(itau,iperiod).EQ.0 .OR. itau.EQ.itaufin) THEN
Note: See TracChangeset for help on using the changeset viewer.