PETSc version 3.17.4
Fix/Edit manual page

# TSGetDM

Gets the DM that may be used by some preconditioners

### Synopsis

    #include "petscts.h"
    PetscErrorCode  TSGetDM(TS ts,DM *dm)

Not Collective

### Input Parameter

| ts | - the preconditioner context

### Output Parameter

| dm | - the dm

### See Also

TSSetDM(), SNESSetDM(), SNESGetDM()

### Level

intermediate

### Location

src/ts/interface/ts.c

### Examples

src/ts/tutorials/ex7.c.html
src/ts/tutorials/ex9.c.html
src/ts/tutorials/ex11.c.html
src/ts/tutorials/ex13.c.html
src/ts/tutorials/ex14.c.html
src/ts/tutorials/ex17.c.html
src/ts/tutorials/ex22.c.html
src/ts/tutorials/ex25.c.html
src/ts/tutorials/ex26.c.html
src/ts/tutorials/ex34.c.html
src/ts/tutorials/ex35.cxx.html
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages