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/dyn3dpar/leapfrog_p.F

    r2021 r2038  
    212212      lafin=.false.
    213213     
    214       itaufin   = nday*day_step
     214      if (nday>=0) then
     215         itaufin   = nday*day_step
     216      else
     217         itaufin   = -nday
     218      endif
     219
    215220      itaufinp1 = itaufin +1
    216221
Note: See TracChangeset for help on using the changeset viewer.