PETSc version 3.17.4
Fix/Edit manual page

# TSGetAdapt

Get the adaptive controller context for the current method

### Synopsis

    #include "petscts.h"
    PetscErrorCode TSGetAdapt(TS ts,TSAdapt *adapt)

Collective on TS if controller has not been created yet

### Input Parameter

| ts | - time stepping context

### Output Parameter

| adapt | - adaptive controller

### See Also

TSAdapt, TSAdaptSetType(), TSAdaptChoose()

### Level

intermediate

### Location

src/ts/interface/ts.c

### Examples

src/ts/tutorials/extchem.c.html
src/ts/tutorials/extchemfield.c.html
src/ts/tutorials/ex40.c.html
src/ts/tutorials/ex41.c.html
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages