KSPEKSMSetKSP#
Sets the internal KSP objects to be used by EKSM.
Synopsis#
#include "petscksp.h"
PetscErrorCode KSPEKSMSetKSP(KSP ksp, KSP ksps, KSP kspm)
Not Collective, but all KSP objects must live on the same MPI_Comm
Input Parameters#
Notes#
This routine is rarely needed. The most common usage is to call KSPEKSMGetKSP() to extract the internal
objects and then configure them.
Each KSP object actually passed in has its reference count increased by one and the internal object it
replaces has its reference count decreased by one. An argument passed as NULL leaves the corresponding
internal object, and its reference count, unchanged.
See Also#
Level#
intermediate
Location#
Implementations#
KSPEKSMSetKSP_EKSM() in src/ksp/ksp/impls/eksm/eksm.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages