TSForwardSetIntegralGradients — PETSc 3.21.4 documentation

Skip to main content
`Ctrl`+`K`

# TSForwardSetIntegralGradients

Set the vectors holding forward sensitivities of the integral term.

## Synopsis

    #include <petscts.h>
    PetscErrorCode TSForwardSetIntegralGradients(TS ts, PetscInt numfwdint, Vec *vp)

## Input Parameters

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

- numfwdint - number of integrals

- vp - the vectors containing the gradients for each integral w.r.t. parameters

## See Also

TS: Scalable ODE and DAE Solvers, `TSForwardGetSensitivities()`, `TSForwardGetIntegralGradients()`, `TSForwardStep()`

## Level

deprecated

## Location

src/ts/interface/sensitivity/tssen.c

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