TaoShellSetContext#

sets the context for a TAOSHELL

Synopsis#

#include "petsctao.h" 
PetscErrorCode TaoShellSetContext(Tao tao, void *ctx)

Logically Collective

Input Parameters#

  • tao - the shell Tao

  • ctx - the context

Fortran Note#

The context can only be an integer or a PetscObject

See Also#

Tao, TAOSHELL, TaoCreateShell(), TaoShellGetContext()

Level#

advanced

Location#

src/tao/shell/taoshell.c

Examples#

src/tao/constrained/tutorials/tomographyADMM.c


Edit on GitLab

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