TSAdaptSetType#
sets the approach used for the error adapter
Synopsis#
#include "petscts.h"
PetscErrorCode TSAdaptSetType(TSAdapt adapt, TSAdaptType type)
Logicially Collective
Input Parameters#
adapt - the
TS
adapter, most likely obtained withTSGetAdapt()
type - one of the
TSAdaptType
Options Database Key#
-ts_adapt_type
- to set the adapter type
See Also#
TS: Scalable ODE and DAE Solvers, TSGetAdapt()
, TSAdaptDestroy()
, TSAdaptType
, TSAdaptGetType()
Level#
intermediate
Location#
Examples#
src/ts/tutorials/ex41.c
src/ts/tutorials/ex51.c
src/ts/utils/dmplexlandau/tutorials/ex1.c
src/ts/tutorials/ex40.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages