TaoTermShellSetCreateSolutionVec#
Set the routine that creates solution vector for a TaoTerm of type TAOTERMSHELL
Synopsis#
#include "petsctao.h"
PetscErrorCode TaoTermShellSetCreateSolutionVec(TaoTerm term, PetscErrorCode (*createsolutionvec)(TaoTerm term, Vec *solution))
Logically collective
Input Parameters#
term - a
TaoTermof typeTAOTERMSHELLcreatesolutionvec - a function with the same signature as
TaoTermCreateSolutionVec()
Calling sequence of createsolutionvec#
term - the
TaoTermsolution - a solution vector for
term
See Also#
TaoTerm: composable objective function terms, TaoTerm, TAOTERMSHELL, TaoTermShellGetContext(), TaoTermShellSetContextDestroy(),
TaoTermShellSetCreateHessianMatrices()
Level#
intermediate
Location#
Examples#
Implementations#
Index of all TaoTerm routines
Table of Contents for all manual pages
Index of all manual pages