TSForwardGetSensitivities#
Returns the trajectory sensitivities
Synopsis#
#include <petscts.h>
PetscErrorCode TSForwardGetSensitivities(TS ts, PetscInt *nump, Mat *Smat)
Not Collective, but Smat returned is parallel if ts is parallel
Output Parameters#
See Also#
TS: Scalable ODE and DAE Solvers, TSForwardSetSensitivities()
, TSForwardSetIntegralGradients()
, TSForwardGetIntegralGradients()
, TSForwardStep()
Level#
intermediate
Location#
Examples#
src/ts/tutorials/ex20opt_p.c
src/ts/tutorials/ex20opt_ic.c
Index of all Sensitivity routines
Table of Contents for all manual pages
Index of all manual pages