petsc-3.8.4 2018-03-24
TSForwardSetIntegralGradients
Set the vectors holding forward sensitivities of the integral term.
Synopsis
#include "petscts.h"
PetscErrorCode TSForwardSetIntegralGradients(TS ts,PetscInt numfwdint,Vec *vp,Vec *v)
Input Parameter
ts -the TS context obtained from TSCreate()
numfwdint -number of integrals
v = the vectors containing the gradients for each integral wrt initial values -. vp = the vectors containing the gradients for each integral wrt parameters
Keywords
TS, forward sensitivity
See Also
TSForwardGetSensitivities(), TSForwardSetIntegralGradients(), TSForwardGetIntegralGradients(), TSForwardStep()
Level:intermediate
Location:src/ts/interface/tsfwdsen.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages