:orphan: # DMSetOutputSequenceNumber Set the sequence number/value for output ## Synopsis ``` #include "petscdm.h" #include "petscdmlabel.h" #include "petscds.h" PetscErrorCode DMSetOutputSequenceNumber(DM dm, PetscInt num, PetscReal val) ``` ## Input Parameters - ***dm -*** The original `DM` - ***num -*** The output sequence number - ***val -*** The output sequence value ## Note This is intended for output that should appear in sequence, for instance a set of timesteps in an `PETSCVIEWERHDF5` file, or a set of realizations of a stochastic system. ## See Also [](ch_dmbase), `DM`, `VecView()` ## Level intermediate ## Location src/dm/interface/dm.c ## Examples src/dm/impls/swarm/tutorials/ex1.c
src/dm/impls/swarm/tutorials/ex1f90.F90
src/ts/tutorials/ex18.c
src/ts/tutorials/ex47.c
src/ts/tutorials/ex48.c
src/ts/tutorials/ex53.c
src/ts/tutorials/ex76.c
src/ts/tutorials/ex77.c
src/ts/utils/dmplexlandau/tutorials/ex1.c
src/ts/utils/dmplexlandau/tutorials/ex1f90.F90
src/ts/utils/dmplexlandau/tutorials/ex2.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/interface/dm.c) [Index of all DM routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)