petsc-3.4.4 2014-03-13

SNESGetPC

Returns a pointer to the nonlinear preconditioning context set with SNESSetPC().

Synopsis

#include "petscsnes.h"  
PetscErrorCode SNESGetPC(SNES snes, SNES *pc)
Not Collective

Input Parameter

snes -iterative context obtained from SNESCreate()

Output Parameter

pc -preconditioner context

Keywords

SNES, get, preconditioner

See Also

SNESSetPC()

Level:developer
Location:
src/snes/interface/snes.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex35.c.html