Ignore:
Timestamp:
Dec 14, 2015, 11:43:09 AM (9 years ago)
Author:
Laurent Fairhead
Message:

Merged trunk changes r2298:2396 into testing branch

Location:
LMDZ5/branches/testing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/testing

  • LMDZ5/branches/testing/libf/dyn3dpar/leapfrog_p.F

    r2298 r2408  
    258258   1  CONTINUE ! Matsuno Forward step begins here
    259259
     260c   date: (NB: date remains unchanged for Backward step)
     261c   -----
     262
    260263      jD_cur = jD_ref + day_ini - day_ref +                             &
    261      &          itau/day_step
     264     &          (itau+1)/day_step
    262265      jH_cur = jH_ref + start_time +                                    &
    263      &         mod(itau,day_step)/float(day_step)
     266     &         mod(itau+1,day_step)/float(day_step)
    264267      if (jH_cur > 1.0 ) then
    265268        jD_cur = jD_cur +1.
     
    356359c-----------------------------------------------------------------------
    357360
    358 c   date:
     361c   date: (NB: only leapfrog step requires recomputing date)
    359362c   -----
    360363
     364      IF (leapf) THEN
     365        jD_cur = jD_ref + day_ini - day_ref +
     366     &            (itau+1)/day_step
     367        jH_cur = jH_ref + start_time +
     368     &           mod(itau+1,day_step)/float(day_step)
     369        if (jH_cur > 1.0 ) then
     370          jD_cur = jD_cur +1.
     371          jH_cur = jH_cur -1.
     372        endif
     373      ENDIF
    361374
    362375c   gestion des appels de la physique et des dissipations:
     
    720733
    721734           jD_cur = jD_ref + day_ini - day_ref
    722      $        + itau/day_step
     735     $        + (itau+1)/day_step
    723736
    724737           IF (planet_type .eq."generic") THEN
     
    728741
    729742           jH_cur = jH_ref + start_time +                                &
    730      &              mod(itau,day_step)/float(day_step)
     743     &              mod(itau+1,day_step)/float(day_step)
    731744!         call ju2ymds(jD_cur+jH_cur, an, mois, jour, secondes)
    732745           if (jH_cur > 1.0 ) then
     
    747760      IF (ip_ebil_dyn.ge.1 ) THEN
    748761          ztit='bil dyn'
    749 ! Ehouarn: be careful, diagedyn is Earth-specific (includes ../phylmd/..)!
     762! Ehouarn: be careful, diagedyn is Earth-specific!
    750763           IF (planet_type.eq."earth") THEN
    751 #ifdef CPP_EARTH
    752764            CALL diagedyn(ztit,2,1,1,dtphys
    753765     &    , ucov    , vcov , ps, p ,pk , teta , q(:,:,1), q(:,:,2))
    754 #endif
    755766           ENDIF
    756767      ENDIF
Note: See TracChangeset for help on using the changeset viewer.