Ignore:
Timestamp:
Nov 8, 2012, 9:03:30 PM (13 years ago)
Author:
aslmd
Message:

  • Repare le probleme "un jour sans fin" des versions precedentes pour le modele generique. Pas d'impact sur modele terrestre.

NB: changements egalement faits sur dyn3dmem en prevision de son utilisation


  • Fix the bug "Groundhog Day" which was a problem for previous versions using generic physics. No impact whatsoever on terrestrial model.

NB: changes also done on dyn3dmem which is planned to be used soon


Author : AS equipe planeto

Location:
LMDZ5/trunk/libf/dyn3dmem
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dyn3dmem/calfis_loc.F

    r1673 r1676  
    725725     .             debut_split,    !! firstcall
    726726     .             lafin_split,    !! lastcall
    727      .             float(day_ini), !! pday <-- day_ini (dans temps.h)
     727     .             jD_cur,         !! pday. see leapfrog_p
    728728     .             jH_cur_split,   !! ptime "fraction of day"
    729729     .             zdt_split,      !! ptimestep
  • LMDZ5/trunk/libf/dyn3dmem/call_calfis_mod.F90

    r1673 r1676  
    138138           jD_cur = jD_ref + day_ini - day_ref                           &
    139139     &        + itau/day_step
     140
     141           IF (planet_type .eq."generic") THEN
     142              ! AS: we make jD_cur to be pday
     143              jD_cur = int(day_ini + itau/day_step)
     144           ENDIF
     145
    140146           jH_cur = jH_ref + start_time +                                &
    141147     &              mod(itau,day_step)/float(day_step)
Note: See TracChangeset for help on using the changeset viewer.