petsc-3.13.6 2020-09-29
Report Typos and Errors

TaoShellGetContext

Returns the user-provided context associated with a shell Tao

Synopsis

#include "petsctao.h" 
PetscErrorCode  TaoShellGetContext(Tao tao,void **ctx)
Not Collective

Input Parameter

tao -should have been created with TaoSetType(tao,TAOSHELL);

Output Parameter

ctx -the user provided context

Notes

This routine is intended for use within various shell routines

See Also

TaoCreateShell(), TaoShellSetContext()

Level

advanced

Location

src/tao/unconstrained/impls/cg/taoshell.c

Examples

src/tao/constrained/tutorials/tomographyADMM.c.html

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