Commits

Matt Knepley committed 47e766a

TS: Set output sequence for timesteps

Comments (0)

Files changed (1)

src/ts/interface/ts.c

   {
     DM dm;
     ierr = TSGetDM(ts, &dm);CHKERRQ(ierr);
-    ierr = DMTSSetTimeStepNumber(dm, ts->steps);CHKERRQ(ierr);
+    ierr = DMSetOutputSequenceNumber(dm, ts->steps);CHKERRQ(ierr);
   }
 
   if (ts->reason < 0) {