#include "petscts.h" PetscErrorCode TSForwardSetIntegralGradients(TS ts,PetscInt numfwdint,Vec *vp)
ts | - the TS context obtained from TSCreate() | |
numfwdint | - number of integrals | |
vp = the vectors containing the gradients for each integral w.r.t. parameters | - |