petsc-3.7.1 2016-05-15
Report Typos and Errors

PCShellGetContext

Returns the user-provided context associated with a shell PC

Synopsis

#include "petscpc.h" 
PetscErrorCode  PCShellGetContext(PC pc,void **ctx)
Not Collective Many br

Input Parameter

pc -should have been created with PCSetType(pc,shell) Many br

Output Parameter

ctx -the user provided context Many br

Many br

Notes

This routine is intended for use within various shell routines Many br

Fortran Notes: To use this from Fortran you must write a Fortran interface definition for this Many brfunction that tells Fortran the Fortran derived data type that you are passing in as the ctx argument. Many br

Keywords

PC, shell, get, context

See Also

PCShellSetContext()

Level:advanced
Location:
src/ksp/pc/impls/shell/shellpc.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ksp/ksp/examples/tutorials/ex15.c.html
src/tao/pde_constrained/examples/tutorials/parabolic.c.html
src/tao/pde_constrained/examples/tutorials/hyperbolic.c.html