#include "petscts.h" PetscErrorCode TSForwardSetInitialSensitivities(TS ts,Mat didp)Collective on TS
ts | - the TS context obtained from TSCreate() | |
didp | - parametric sensitivities of the initial condition |
Notes: TSSolve() allows users to pass the initial solution directly to TS. But the tangent linear variables cannot be initialized in this way. This function is used to set initial values for tangent linear variables.