TSAdaptSetOptionsPrefix — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# TSAdaptSetOptionsPrefix

Sets the prefix used for searching for `TSAdapt` options in the options database

## Synopsis

    #include "petscts.h"
    PetscErrorCode TSAdaptSetOptionsPrefix(TSAdapt adapt, const char prefix[])

Logically Collective

## Input Parameters

- adapt - the `TSAdapt` context, most likely obtained with `TSGetAdapt()`

- prefix - the prefix to prepend to all option names

## See Also

TS: Scalable ODE and DAE Solvers, Error control via variable time-stepping, `TSAdapt`, `TSGetAdapt()`, `TSSetOptionsPrefix()`

## Level

advanced

## Location

src/ts/adapt/interface/tsadapt.c

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