SNESShellGetContext#

Returns the user-provided context associated with a SNESSHELL

Synopsis#

#include "petscsnes.h"   
PetscErrorCode SNESShellGetContext(SNES snes, void *ctx)

Not Collective

Input Parameter#

Output Parameter#

  • ctx - the user provided context

See Also#

SNESSHELL, SNESCreateShell(), SNESShellSetContext()

Level#

advanced

Location#

src/snes/impls/shell/snesshell.c

Examples#

src/snes/tutorials/ex35.c


Edit on GitLab

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