petsc-3.14.6 2021-03-30
Report Typos and Errors

TaoShellSetContext

sets the context for a shell Tao

Synopsis

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

Input Parameters

tao - the shell Tao
ctx - the context

Fortran Notes

The context can only be an integer or a PetscObject unfortunately it cannot be a Fortran array or derived type.

See Also

TaoCreateShell(), TaoShellGetContext()

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