TSForwardSetUp — PETSc 3.21.4 documentation

Skip to main content
`Ctrl`+`K`

# TSForwardSetUp

Sets up the internal data structures for the later use of forward sensitivity analysis

## Synopsis

    #include <petscts.h>
    PetscErrorCode TSForwardSetUp(TS ts)

Collective

## Input Parameter

- ts - the `TS` context obtained from `TSCreate()`

## See Also

TS: Scalable ODE and DAE Solvers, `TS`, `TSCreate()`, `TSDestroy()`, `TSSetUp()`

## Level

advanced

## Location

src/ts/interface/sensitivity/tssen.c

## Implementations

TSForwardSetUp_RK() in src/ts/impls/explicit/rk/rk.c
TSForwardSetUp_Theta() in src/ts/impls/implicit/theta/theta.c

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