SNESShellSetContext#
sets the context for a SNESSHELL
Synopsis#
#include "petscsnes.h"   
PetscErrorCode SNESShellSetContext(SNES snes, void *ctx)
Logically Collective
Input Parameters#
- snes - the - SNESSHELL
- ctx - the context 
Fortran Note#
The context can only be an integer or a PetscObject it cannot be a Fortran array or derived type.
See Also#
SNES: Nonlinear Solvers, SNES, SNESSHELL, SNESCreateShell(), SNESShellGetContext()
Level#
advanced
Location#
Examples#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages