:orphan:
# PetscDSSetImplicit
Set the flag for implicit solve for this field. This is just a guide for `TSIMEX`
## Synopsis
```
#include "petscds.h"
PetscErrorCode PetscDSSetImplicit(PetscDS prob, PetscInt f, PetscBool implicit)
```
Not Collective
## Input Parameters
- ***prob -*** The `PetscDS` object
- ***f -*** The field number
- ***implicit -*** The flag indicating what kind of solve to use for this field
## See Also
`TSIMEX`, `PetscDSGetImplicit()`, `PetscDSSetDiscretization()`, `PetscDSAddDiscretization()`, `PetscDSGetNumFields()`, `PetscDSCreate()`
## Level
developer
## Location
src/dm/dt/interface/dtds.c
## Examples
src/ts/tutorials/ex45.c
src/ts/tutorials/ex48.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/interface/dtds.c)
[Index of all DT routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)