1. petsc
  2. PETSc
  3. petsc

Commits

Matt Knepley  committed 47e766a

TS: Set output sequence for timesteps

  • Participants
  • Parent commits b586254
  • Branches master

Comments (0)

Files changed (1)

File src/ts/interface/ts.c

View file
  • Ignore whitespace
   {
     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) {