TaoTermShellSetContext#
Set a context for a TAOTERMSHELL
Synopsis#
#include "petsctao.h"
PetscErrorCode TaoTermShellSetContext(TaoTerm term, PetscCtx ctx)
Logically collective
Input Parameters#
term - a
TaoTermof typeTAOTERMSHELLctx - a context
Note#
The context can be accessed in callbacks using TaoTermShellGetContext()
See Also#
TaoTerm: composable objective function terms, TaoTerm, TAOTERMSHELL, TaoTermShellGetContext(), TaoTermShellSetContextDestroy()
Level#
intermediate
Location#
Implementations#
TaoTermShellSetContext_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