#include "petscsnes.h" #include "petscdmshell.h" #include "petscsys.h" PetscErrorCode SNESSetKSP(SNES snes,KSP ksp)Not Collective, but the SNES and KSP objects must live on the same MPI_Comm
|snes||- the SNES context|
|ksp||- the KSP context|
The KSP object that is already in the SNES object has its reference count decreased by one.
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages