PETSc version 3.17.4
Fix/Edit manual page

# PetscDSSetImplicit

Set the flag for implicit solve for this field. This is just a guide for IMEX

### 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

PetscDSGetImplicit(), PetscDSSetDiscretization(), PetscDSAddDiscretization(), PetscDSGetNumFields(), PetscDSCreate()

### Level

developer

### Location

src/dm/dt/interface/dtds.c

### Examples

src/ts/tutorials/ex45.c.html
src/ts/tutorials/ex48.c.html
Index of all DT routines
Table of Contents for all manual pages
Index of all manual pages