TaoTermShellSetContextDestroy#
Set a method to destroy the context resources when a TAOTERMSHELL is destroyed
Synopsis#
#include "petsctao.h"
PetscErrorCode TaoTermShellSetContextDestroy(TaoTerm term, PetscCtxDestroyFn *destroy)
Logically collective
Input Parameters#
term - a
TaoTermof typeTAOTERMSHELLdestroy - the context destroy function
See Also#
TaoTerm: composable objective function terms, TaoTerm, TAOTERMSHELL, TaoTermShellSetContext(), TaoTermShellGetContext()
Level#
intermediate
Location#
Implementations#
TaoTermShellSetContextDestroy_Shell() in src/tao/term/impls/shell/taotermshell.c
Index of all TaoTerm routines
Table of Contents for all manual pages
Index of all manual pages