Changeset 783


Ignore:
Timestamp:
06/04/09 16:38:11 (16 years ago)
Author:
Mathieu Morlighem
Message:

minor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk/src/m/solutions/cielo/transient2d.m ΒΆ

    r769 r783  
    4848
    4949%first time step is given by model.
    50 dt=md.dt;
    51 finaltime=md.ndt;
     50dt=m_p.parameters.dt;
     51finaltime=m_p.parameters.ndt;
    5252time=dt;
     53yts=m_p.parameters.yts;
    5354n=1; %counter
    5455
    5556while  time<finaltime+dt, %make sure we run up to finaltime.
    5657
    57         disp(sprintf('\n%s%g%s%g%s%g\n','time [yr]: ',time/md.yts,'    iteration number: ',n,'/',floor(finaltime/dt)));
     58        disp(sprintf('\n%s%g%s%g%s%g\n','time [yr]: ',time/yts,'    iteration number: ',n,'/',floor(finaltime/dt)));
    5859
    5960        solution(n+1).step=n+1;
Note: See TracChangeset for help on using the changeset viewer.