KSPGetApplicationContext#
Gets the user-defined context for the linear solver set with KSPSetApplicationContext()
Synopsis#
#include "petscksp.h"
PetscErrorCode KSPGetApplicationContext(KSP ksp, PetscCtxRt ctx)
Not Collective
Input Parameter#
ksp -
KSPcontext
Output Parameter#
ctx - a pointer to the application context
Fortran Notes#
This only works when the context is a Fortran derived type or a PetscObject. Define ctx with
type(tUsertype), pointer :: ctx
See Also#
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