Changeset 2805 for LMDZ5/trunk/libf


Ignore:
Timestamp:
Mar 1, 2017, 5:50:11 PM (8 years ago)
Author:
Laurent Fairhead
Message:

Correcting bug introduced in r2795

File:
1 edited

Legend:

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

    r2795 r2805  
    9898    ! Update elapsed time since begining of run:
    9999    current_time = current_time + pdtphys
    100     cur_day = int(current_time/rday) + day_ini
    101     cur_sec = current_time - (cur_day * rday) + (start_time * rday)
     100    cur_day = int(current_time/rday)
     101    cur_sec = current_time - (cur_day * rday)
    102102
    103103    ! Compute corresponding Julian date and update calendar
     104    cur_day = cur_day + day_ini
     105    cur_sec = cur_sec + (start_time * rday)
    104106    CALL ymds2ju(annee_ref,1, cur_day, cur_sec, julian_date)
    105107    CALL phys_cal_update(julian_date)
Note: See TracChangeset for help on using the changeset viewer.