petsc-3.14.6 2021-03-30
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