Ignore:
Timestamp:
May 7, 2014, 11:05:48 AM (10 years ago)
Author:
fhourdin
Message:

Possibilité d'imposer le nombre de pas de temps de la simulation avec nday<0
If nday<0, nday is the total number of time step of the simulation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dyn3d/gcm.F

    r2021 r2038  
    462462
    463463
    464       day_end = day_ini + nday
     464      if (nday>=0) then
     465         day_end = day_ini + nday
     466      else
     467         day_end = day_ini - nday/day_step
     468      endif
    465469      WRITE(lunout,300)day_ini,day_end
    466470 300  FORMAT('1'/,15x,'run du jour',i7,2x,'au jour',i7//)
Note: See TracChangeset for help on using the changeset viewer.