Ignore:
Timestamp:
Jun 9, 2016, 11:30:18 AM (8 years ago)
Author:
jyg
Message:

Some improvements to commits 2548 and 2549

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/time_phylmdz_mod.F90

    r2548 r2551  
    8383  USE print_control_mod, ONLY: lunout
    8484  IMPLICIT NONE
     85  INCLUDE 'YOMCST.h'
    8586    REAL,INTENT(IN) :: pdtphys_
    8687    REAL            :: julian_date
     
    9495   
    9596    ! Update elapsed time since begining of run:
    96     current_time=current_time+pdtphys/86400
     97    current_time=current_time+pdtphys/rday
     98       print *,'update_time: start_time, current_time ', start_time, current_time
    9799
    98100    ! Compute corresponding Julian date and update calendar
    99     CALL ymds2ju(annee_ref,1,day_ini,(start_time+current_time)*86400,julian_date)
     101    CALL ymds2ju(annee_ref,1,day_ini,(start_time+current_time)*rday,julian_date)
    100102    CALL phys_cal_update(julian_date)
    101103   
Note: See TracChangeset for help on using the changeset viewer.