#include "petscts.h" PetscErrorCode TSForwardGetSensitivities(TS ts,PetscInt *nump,Mat *Smat)Not Collective, but Vec returned is parallel if TS is parallel
ts | - the TS context obtained from TSCreate() | |
nump | - number of parameters | |
Smat | - sensitivities with respect to the parameters, the number of entries in these vectors is the same as the number of parameters |