petsc-3.3-p7 2013-05-11

KSPSetApplicationContext

Sets the optional user-defined context for the linear solver.

Synopsis

#include "petscksp.h" 
PetscErrorCode  KSPSetApplicationContext(KSP ksp,void *usrP)
Logically Collective on KSP

Input Parameters

ksp - the KSP context
usrP - optional user context

Keywords

KSP, set, application, context

See Also

KSPGetApplicationContext()

Level:intermediate
Location:
src/ksp/ksp/interface/iterativ.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages