TSComputeRHSHessianProductFunctionPP#

Runs the user-defined vector-Hessian-vector product function for Gpp.

Synopsis#

#include "petscts.h"  
PetscErrorCode TSComputeRHSHessianProductFunctionPP(TS ts, PetscReal t, Vec U, Vec *Vl, Vec Vr, Vec *VHV)

Collective

Input Parameters#

  • ts - The TS context obtained from TSCreate()

  • t - the time

  • U - the solution at which to compute the Hessian product

  • Vl - the array of input vectors to be multiplied with the Hessian from the left

  • Vr - the input vector to be multiplied with the Hessian from the right

Output Parameter#

  • VhV - the array of output vectors that store the Hessian product

Note#

TSComputeRHSHessianProductFunctionPP() is typically used for sensitivity implementation, so most users would not generally call this routine themselves.

See Also#

TS: Scalable ODE and DAE Solvers, TSSetRHSHessianProduct()

Level#

developer

Location#

src/ts/interface/sensitivity/tssen.c


Edit on GitLab

Index of all Sensitivity routines
Table of Contents for all manual pages
Index of all manual pages