SNESGetApplicationContext#
Gets the user-defined context for the nonlinear solvers set with SNESGetApplicationContext()
or SNESSetComputeApplicationContext()
Synopsis#
#include "petscsnes.h"
PetscErrorCode SNESGetApplicationContext(SNES snes, void *usrP)
Not Collective
Input Parameter#
snes -
SNES
context
Output Parameter#
usrP - user context
Fortran Note#
You must write a Fortran interface definition for this
function that tells Fortran the Fortran derived data type that you are passing in as the usrP
argument.
See Also#
SNES: Nonlinear Solvers, SNESSetApplicationContext()
, SNESSetComputeApplicationContext()
Level#
intermediate
Location#
Examples#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages