petsc-3.14.5 2021-03-03
Report Typos and Errors

# TSSetEquationType

Sets the type of the equation that TS is solving.

### Synopsis

    #include "petscts.h"
    PetscErrorCode  TSSetEquationType(TS ts,TSEquationType equation_type)

Not Collective

### Input Parameter

| ts | - the TS context
| equation_type | - see TSEquationType

### See Also

TSGetEquationType(), TSEquationType

### Level

advanced

### Location

src/ts/interface/ts.c

### Examples

src/ts/tutorials/ex25.c.html
src/ts/tutorials/ex35.cxx.html
src/ts/tutorials/ex20adj.c.html
src/ts/tutorials/ex20opt_p.c.html
src/ts/tutorials/ex20opt_ic.c.html
src/ts/tutorials/ex20td.c.html
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages