TSAdaptSetType#

sets the approach used for the error adapter, currently there is only TSADAPTBASIC and TSADAPTNONE

Synopsis#

#include "petscts.h" 
PetscErrorCode TSAdaptSetType(TSAdapt adapt, TSAdaptType type)

Logicially Collective on TSAdapt

Input Parameters#

  • adapt - the TS adapter, most likely obtained with TSGetAdapt()

  • type - either TSADAPTBASIC or TSADAPTNONE

Options Database#

  • -ts_adapt_type - to set the adapter type

See Also#

TSGetAdapt(), TSAdaptDestroy(), TSAdaptType, TSAdaptGetType()

Level#

intermediate

Location#

src/ts/adapt/interface/tsadapt.c

Examples#

src/ts/tutorials/ex40.c.html
src/ts/tutorials/ex41.c.html
src/ts/tutorials/ex51.c.html


Edit on GitLab

Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages